Page 1 of 2
Re: Plugin for Piclens?
Posted: Thu Jan 31, 2008 8:47 pm
by garvinhicking
Hi!
I believe a mrss feed shouldn't be too hard. You can register either an external plugin event look (like index.php?/plugin/mrss-feed, using hook 'external_plugin').
Or you could create your own RSS Feed version by creating an event plugin that listens on 'frontend_rss', modifies $eventData['template_file'] to point to a plugin-file like 'mrss.tpl' which uses the appropriate nomenclalture defined by Yahoo. The data itself needs to come from the plugin, which can iterate over the media database, or on recent entries using preg_match and extracing <img> sources.
Basically, this can either be developed on its own, or patched into the greybox plugin. However, I think this media-rss thing is a feature to stand on its own, so I'd rather suggest to create an own plugin for that...
Personally, I don't find this piclens thing very convincing - but I can understand that people do. It's however that I personally cannot offer to implement that plugin. But I'm willing to help anybody along the way
Regards,
Garvin
Posted: Sat Feb 02, 2008 12:06 pm
by garvinhicking
Hi!
You might want to check the serendipity_event_usergallery plugin, this one already offers to reate a "media database" RSS feed. I'm sure it could be changed to use this Yahoo Format as well!
It looks like the current rss generation is not using a .tpl so is there a simple example of this technique you could point me to?
It uses a .tpl, the feed_*.tpl files!
Regards,
Garvin
Progress ?
Posted: Thu Feb 28, 2008 2:49 pm
by X_Burner
Hi !
Ive tried to generate a staic html page with a gallery in Lightbox with this plugin:
http://theturninggate.net/blog/adobe-li ... x-template
See the result here:
http://s9y.newline-medien.com/index.php ... wreel.html
The lightbox works only inside the iFrame
And another try here:
http://s9y.newline-medien.com/index.php ... 2-showreel
There Ive inserted the html code into an article.
Here is the pure html gallery:
http://test.nardino.org/PicLens/
Did anybody made progress with s9y/piclens/lightbox ?
Greets
X_Burner
Re: Progress ?
Posted: Thu Feb 28, 2008 4:17 pm
by garvinhicking
Hi!
Why does it only work in an iframe? Maybe colliding javascripts? Bad markup plugins that transforms your JAvascript-Code to invalid HTML?
What happens when not put in an iframe?
Regards,
Garvin
Posted: Thu Feb 28, 2008 7:15 pm
by X_Burner
Hi,
the last link is the pure html gallery...without iframe.
The links above are my tries to integrate the static html page into s9y.
X_Burner
Posted: Fri Feb 29, 2008 10:36 am
by garvinhicking
Hi!
X_Burner wrote:Hi,
the last link is the pure html gallery...without iframe.
The links above are my tries to integrate the static html page into s9y.
X_Burner
Yes, I understood that. Why didn't you integrate it without an iframe? I don't think this iframe is needed.
Regards,
Garvin
Posted: Fri Feb 29, 2008 10:39 am
by X_Burner
OK !
How would you integrate it without an iframe ?
Gruss aus Wiesbaden
X_Burner
Posted: Fri Feb 29, 2008 11:05 am
by garvinhicking
Hi!
I'd simply create a staticpage with the sourcecode you already use for the iframe, minus all the HTML head/body section, and put the javascript within the main body.
Regards,
Garvin
Posted: Sun Mar 02, 2008 11:40 am
by X_Burner
Hi !
Thats what Ive done.
Ive taken the <div class="lightboxgallery"> and put it in the static page.
The javascripts Ive put in the head area in the index.tpl.
But the lightbox isnt working correct (seems a css problem)
and PicLens dont work
http://s9y.newline-medien.com/index.php ... /test.html
X_Burner
Posted: Sun Mar 02, 2008 11:51 am
by garvinhicking
Hi!
Is piclens integrated with lightbox? When I click on one of the thumbnails, a lightbox popup opens. There does seem to be CSS trouble, maybe caused by the YAML template? Have you tried using a "simpler" layout and see if it works there?
Regards,
Garvin
Posted: Sun Mar 02, 2008 12:10 pm
by X_Burner
Hi !
This Lightroom template...
http://theturninggate.net/blog/adobe-li ... x-template
uses PicLens with Lightbox...thats exactly what I want
May be I try later an other "simple" template but I would prefer YAML
Is someone developing a plugin for piclens with lightbox ?
X_Burner
Posted: Sun Mar 02, 2008 2:32 pm
by X_Burner
Sooo !
The Lightbox is working within s9y but PicLens not

Ive checked the paths in the photos.rss but everything seems to be correct !?!
http://s9y.newline-medien.com/index.php ... /test.html
Code: Select all
<item>
<title></title>
<link>index.html</link>
<guid>philcUK_1168710248</guid>
<media:thumbnail url="thumbnails/philcUK_1168710248.jpg" />
<media:content url="photos/philcUK_1168710248.jpg" type="" />
</item>
Should I modify the link-tag ?
Any ideas ?
Greets
X_Burner
Posted: Sun Mar 02, 2008 2:38 pm
by garvinhicking
Hi!
I still bet there could simply be interaction problems because of the YAML javascript. Try to make piclens be the only javascript stuff that's being loaded on the page.
Are the JS for mootools and slimbox required for piclens? They might interfer?
Regards,
Garvin
Posted: Sun Mar 02, 2008 2:54 pm
by X_Burner
Hi !
Ive removed all JS still the same
X_Burner
Posted: Mon Mar 03, 2008 9:45 am
by X_Burner
Hi !
Is it possible that s9y create SEF URLs ?
I think thats the problem why piclens isnt working...
Code: Select all
<item>
<title></title>
<link>index.html</link>
<guid>philcUK_1168710248</guid>
<media:thumbnail url="thumbnails/philcUK_1168710248.jpg" />
<media:content url="photos/philcUK_1168710248.jpg" type="" />
</item>
http://s9y.newline-medien.com/index.php ... /test.html
THats the link where the gallery is but in the photos.rss is <link>index.html</link>
I think when I would have a SEF URL like s9y.newline-medien.com/gallery.html and I change the photos.rss to this URL it should work.
Any ideas ?
X_Burner