I don't say that this need to be added to futuristic ZENphoto releases, but I could need it for my gallery. But no, I won't link it because of the NSFW content.
Anywhom, there are a few things I like to change that I need help with.
1) On the frontpage, where the albums are listed. Why can't the "random image" have an url to it that goes directly to the exact photo?
2) Are there possible to skip "albums", and use pictures only? You can, if possible, skip the first question.
3) 10 latest comments on the frontpage / sort by comments in general.
4) Random image (for possible frontpage, with direct link to exact picture)
5) Sort by rating, when rating is used.
6) Tracker-cookie to remember the last page you where watching (got alot of pictures).
Thats my questions for now -- if anyone know, just tell me where to begin and what's needed to be done to the file(s).
// dosky
Comments
#2. There are several people who have been working in this. I don't know the status of their efforts. But, yes, you can go directly to a picture from the gallery album thumbnail. It is just a matter of changing the link that is generated.
#3. Sorry, what are you meaning here?
#4. Same as #1 isn't it?
#5. Could be provided, but currently it is not.
#6. Could be done in the theme. No plans for this in zenphoto.
Best place to begin is with the themeing guide resouces like this are listed here: http://www.zenphoto.org/support/topic.php?id=3760
2) Ok, but do you know any proper way?
3) I want to have a list of the 10 latest comments on the fronpage, even if I use album(s) or image(s) in index.php
And also, I want to be able to sort the pictures after ratings (or maybe just have a top 10 list of pictures)
4) Yes and no, the thumbnail is pretty small. But somehow there could be better if it could be just one random picture each day -- like "picture OF the day".
5) Would it be hard to do ?
6) Any ideas on how I could do it ?
(Yes, I need help making it -- that is why I ask. And as I said before, this ain't a tread to ask if you can imply the features to ZENphoto. It should be as little and perfect as it is today.)
// dosky
3) http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionprintLatestComments
4) Well, you can change everything and make a custom function with a bigger thumbnail.
5) This would surely require core changes which is not recommended to do yourself because of problems with updates. You can open a feature request ticket, although we of course can't promise when or if we included that.
6) No, sorry.
#3. Sorting images by rating could be done in the theme. However, it sounds like you are not very familiar with PHP. That being the case, you would have a lot of learning to do first.
#5, #6. Again, you will probably have some learning to do to do these things.
printLatestComments(int $number, [string $shorten = '123']);
How do I actually use this to not get an error code ?
Please also visit our user guide and read for example http://www.zenphoto.org/2008/04/how-to-read-the-zenphoto-functions-guide/