piclens with wpg2 3.x

periferral

Joined: 2005-11-17
Posts: 22
Posted: Sat, 2008-05-24 06:30

hey guys. I was wondering if there is anyone who has successful managed to get picLens and wpg2 running together. Ive read a couple of threads and infact the svn version of gallery supports it but not with wpg2.
http://gallery.menalto.com/node/66745

Any help on getting this to work with wpg2 is greatly appreciated.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-05-25 03:24

Hiya Periferral,

We do not plan to offer support for piclens until at least WPG2 3.1 but more likely this may be pushed to WPG2 3.2

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
periferral

Joined: 2005-11-17
Posts: 22
Posted: Tue, 2008-05-27 17:18

ozgreg.. thanks for getting back. One thing that maybe a quick fix here. Gallery 2.3 will support piclens. infact on my webpage, i see a photo rss feed already. However, when i click on the feed, it shows up as http://gallery.periferral.com/wpg2?g2_view=slideshow.SlideshowMediaRss&g2_itemId=938

If this was http://www.periferral.com/wpg2?g2_view=slideshow.SlideshowMediaRss&g2_itemId=938, everything would work a-Ok.

Any suggestions if I can go this as a quick workaround or something that can be easily incorporated into wpg2.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2008-05-28 03:08

RSS Feeds are designed to be directed via Gallery2. The real fix would be to automatically add the Gallery2 RSS Feed into the Wordpress RSS Feed. Unfortunately you cannot change the URL without modifying Gallery2..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
periferral

Joined: 2005-11-17
Posts: 22
Posted: Wed, 2008-05-28 17:00

ozgreg. here is my hack solution and it works.
In my theme directory, I modified theme.tpl

FROM

{if $theme.pageType == 'album'}
{g->theme include="album.tpl"}
{elseif ...

TO

{if $theme.pageType == 'album'}
<link rel="alternate" type="application/rss+xml" title="WPG2 PicLens RSS" href="http://www.periferral.com/wpg2?g2_view=slideshow.SlideshowMediaRss&g2_itemId={$theme.item.id}" id="WPG2Gallery"/>
{g->theme include="album.tpl"}
{elseif ...

Since gallery 2.3 already handles the RSS feed, this is all that was needed in my theme file to support picLens. Any chance this can be done by WPG2 rather than the user?

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-06-01 22:36

periferral,

Unfortunately no as I am never comfortable to directly change G2 (or WP) Core files as part of WPG2. I will be happy to document this although when I get a chance and add support for it in the next version of the WordpressEmbedded Theme which has been sadly neglected of late..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
periferral

Joined: 2005-11-17
Posts: 22
Posted: Sun, 2008-06-01 22:59

great, thanks ozgreg.