Display n most recent images?
-
- Phoca Member
- Posts: 13
- Joined: 01 Jul 2008, 05:29
Display n most recent images?
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!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display n most recent images?
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
- add downloading
- add a value into database by downloading
- creating of plugin, where the SQL query is: order by e.g. downloading....
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 01 Jul 2008, 05:29
Re: Display n most recent images?
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!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display n most recent images?
Yes, it will be appreciated... Thank you, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 14
- Joined: 15 Sep 2008, 20:48
Re: Display n most recent images?
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.
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.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display n most recent images?
I think, here in this topic
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 14
- Joined: 15 Sep 2008, 20:48
Re: Display n most recent images?
Jan,
I don't see the link. Could you please post the link.
Thank you.
I don't see the link. Could you please post the link.
Thank you.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display n most recent images?
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 12 Jan 2011, 22:32
Re: Display n most recent images?
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display n most recent images?
Hi, with Phoca Gallery Image module you can display images and order them by date.
Jan
Jan
If you find Phoca extensions useful, please support the project