![]() |
|
Favourites and Comments images - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Favourites and Comments images (/thread-422.html) |
Favourites and Comments images - koffee - 2006-04-09 Hi, first of all, I'd like to say that this gallery is really great, well beacause of its simplicity. I am trying to make something like this: Exactly, viewing the most view images on the index, and viewing images on the left side of comment. Favourites and Comments images - Chilifrei64 - 2006-04-09 There is a stopdesign theme already available for zenphoto Favourites and Comments images - koffee - 2006-04-09 Yes, I know, and it's perfect, but it doesn't provide these functions as I mentioned.
Favourites and Comments images - trisweb - 2006-04-10 1 should be fairly easy to do actually. Just create a new .php file in the ZP directory (or the theme directory if you can get it to include) and get all the comments from the comments table. Some database working can get you the image filenames associated with them so you can get the thumbnail. Sounds like something I might want to add actually...2 is a little harder since we don't have view counts. You'd need a new database field in the images table, and code to update it on each view. Then a query to select by most viewed and get image objects, and print them as in #1 on a new page.Both of these are good ideas that could concievably make it into future releases (especially down the 2.0 road). Favourites and Comments images - koffee - 2006-04-13 Thank you leaving great advise.. #1 is done! Thank you once again. |