PicLens/Cooliris not working with WPG2 (but I know it does...)

xadium

Joined: 2008-11-09
Posts: 5
Posted: Mon, 2008-11-17 00:18

Hi

I can use PicLens fine when accessing my gallery via http://xadium.net/gallery2/v/whatever but when I'm using the gallery embedded in WPG2 it isn't working. The RSS feed is there for MediaRSS etc. and I know it's possible because this person has it working: http://www.drumanda.net/wpg2?g2_itemId=24 and they don't appear to be doing anything I'm not other than not using rewrite which I also disabled to test.

Any ideas anyone, would be eternally grateful. WordPress 2.6.3, Gallery 2.3, WPG2 3.0.7.

Thanks
Ali

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2008-11-17 00:34

My update for the slideshow module forces the full url for the mediaRss which fixed my embedded gallery.
Also allows you to choose the resizes to use instead of the fullsize images.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
xadium

Joined: 2008-11-09
Posts: 5
Posted: Mon, 2008-11-17 18:31

Hey

This is definite progress and has fixed launching CoolIris/PicLens from album pages in one of my galleries (http://xadium.net/v/portfolio/) so thank you muchly for this one.

Is there a tweak I need to do to get the same thing working from photo pages, I'm using the x_treme theme for the rest of the gallery and clicking an album goes straight into the photo page with the minithumbs and Cooliris still doesn't work there. I've cleared the template cache etc. but I don't appear to have the <link rel="alternate" type="application/rss+xml" title="PicLens RSS" href="/gallery2/picLensRss.php?g2_itemId=2908" id="picLensGallery"/> bit in these pages.

Thanks again!
Ali

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2008-11-17 18:53

I'm not really familiar with the extreme theme, but I'm sure it needs updating for 2.3 as its not a core theme, but I thinks its similar to carbon if you wanted to compare theme.tpl from both.
and especially make sure
{g->head} is in there after the <head> tag.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
xadium

Joined: 2008-11-09
Posts: 5
Posted: Mon, 2008-11-17 19:47

Hi

That was in there but still no joy. I've probably done something which undoes all of your good work but the theme I'm using as my portfolio album is Ice and it specifically has some code in the theme.tpl which I just noticed and have copied/pasted into the theme.tpl of the x_treme theme:

{* Firefox Addon - PicLens *}
        {if $theme.pageType == 'album'}
                    <link rel="alternate" type="application/rss+xml" title="PicLens RSS" href="{g->url href='picLensRss.php'}?g2_itemId={$theme.item.id}" id="picLensGallery"/>
                    <script type="text/javascript" src="http://lite.piclens.com/current/piclens_optimized.js"></script>
                {/if}
                {if $theme.pageType == 'photo'}
                    <link rel="alternate" type="application/rss+xml" title="PicLens RSS" href="{g->url href='picLensRss.php'}?g2_itemId={$theme.parent.id}" id="picLensGallery"/>
                    <script type="text/javascript" src="http://lite.piclens.com/current/piclens_optimized.js"></script>
                {/if}

I've probably done something insanely ham-fisted but it appears to have achieved the required result. And I know before I used your plugin it didn't work in either the portfolio album nor the rest of the albums so a combination of the above and your plugin has worked. I do have two Picture RSS feeds, the PhotoRSS one which doesn't work and the PicLensRSS one which does.

If you want to ask questions about what the hell I've done if it would be useful then more than happy to oblige! Thanks for your help.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2008-11-17 20:15

Well, you are just using my old picLensRss feed which was only a temp fix until 2.3 came out, but hey... if its working for you.....

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2