Pages: 1
Hi
I have experimented with PiwigoPress as a tool to get the most recent photos from my Piwigo gallery and display them in a widget on my Wordpress blog.
Out-of-the-box PiwigoPress can only show x number of RANDOM photos from the gallery.
I wonder if it's possible to change the plugin in some way to display x number of RECENT photos from the gallery?
Or - as the plugin PiwigoPress is a bit outdated - use the Piwigo API to get the most recent photos.
I think the documentation on the API on getting photos from the gallery is a bit thin. More samples would be nice.
If someone could give me a hint or an example to work on it would be VERY welcome.
/Thomas
PS After using several different gallery tools (Coppermine, Gallery etc.) I am very pleased with Piwigo. Keep up the good work!
Offline
Have you look
[Forum, topic 17124] PiwigoMedia - WordPress plugin
Offline
Yes I have looked into PiwigoMedia and that's a nice plugin for sure.
BUT to my knowledge it's not dynamic. You use PiwigoMedia to insert photos from your gallery to your post/page in Wordpress.
What I am looking for is some code/plugin - just to show eg. the five most recent photos from my gallery. And when I add photos to my gallery the recent photos on my blog gets updated automatically
Offline
Anyone have some guidance?
Offline
OK I found the way (at least one of them) to change the sample Piwigo photos i my Wordpress blog widget from "random" to "recent" photos
If anyone is trying to accomplish the same:
In the plugin PiwigoPress edit "PiwigoPress_code.php"
About line no 47 change this line:
. $options . '&recursive=true&order=random&f_with_thumbnail=true');
To this
. $options . '&recursive=true&order=recent_pics&f_with_thumbnail=true');
Offline
Pages: 1