Page 1 of 2
Display n most recent images?
Posted: 01 Jul 2008, 05:37
by mmeytin
First of all, thanks for a very useful tool - we looked at multiple photo galleries, and Phoca came up on top in terms of features and capabilities. I did have a question however. Is it possible, using Phoca Gallery plugin to display, say on the site frontpage, 5 (or any number really) most recently uploaded images from any categories? It sounds like a fairly common need. Any help is much appreciated. Thanks in advance for the information!
Re: Display n most recent images?
Posted: 01 Jul 2008, 10:24
by Jan
Hi, there is no such a possibility, the solution can be php coding:
- add downloading
- add a value into database by downloading
- creating of plugin, where the SQL query is: order by e.g. downloading....
Jan
Re: Display n most recent images?
Posted: 02 Jul 2008, 07:18
by mmeytin
Thanks for your prompt reply! I think we implemented this function by modifying mod_phocagallery_random_image and taking advantage of jos_phocagallery.date field, which seems to contain the timestamp when the image was uploaded into the gallery. Seems to work well. If you think this is a useful extension I could contribute it back to the Phoca Gallery codebase if you wish (but it was pretty trivial change). Thanks again!
Re: Display n most recent images?
Posted: 02 Jul 2008, 10:35
by Jan
Yes, it will be appreciated... Thank you, Jan
Re: Display n most recent images?
Posted: 24 Sep 2008, 20:48
by peepy
I am also looking for such feature.
mmeytin, Could you please release the code. Thank you.
Jan,
Please let me know where to look for If mmeytin has released the code. Thank you.
Re: Display n most recent images?
Posted: 26 Sep 2008, 18:21
by Jan
I think, here in this topic
Re: Display n most recent images?
Posted: 02 Oct 2008, 17:25
by peepy
Jan,
I don't see the link. Could you please post the link.
Thank you.
Re: Display n most recent images?
Posted: 02 Oct 2008, 21:00
by Jan
Hi, I didn't write, there is a link, I wrote you should look here (in this forum, into this topic) for the solution if somebody writes it...
Jan
Re: Display n most recent images?
Posted: 12 Jan 2011, 23:26
by michelle
Hi, I'm new to this forum and fairly new to Phoca, but so far I love it. I am wondering if there have been any updates on this topic since 2008. We are very much in need of a feature like this.
I'm using v.2.7.3. On my front page, I have a mod_phocagallery_image that displays 12 thumbnails. I want to be able to add photos as admin and have users of my site be able to add photos as well, and have all those newly added photos be the ones displayed in that module.
Any help would be much appreciated! Thanks for a really great gallery.
-Michelle
Re: Display n most recent images?
Posted: 16 Jan 2011, 14:08
by Jan
Hi, with Phoca Gallery Image module you can display images and order them by date.
Jan