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. Any help on getting this to work with wpg2 is greatly appreciated. |
|

Posts: 1378
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
Posts: 22
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.
Posts: 1378
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
Posts: 22
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?
Posts: 1378
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
Posts: 22
great, thanks ozgreg.