Did a quick search and didn't see this posted, so the question/feature request is, would it be possible to see an option for allowing comments for an album/set as well as individual photos?
This is not something I've specifically wanted, but a number of people who I have directed to ZenPhoto for use as a photo gallery, have asked if it was something it could do. Granted, most of these people have been artists, so there is a greater need/want for allowing a set to be commented on outside of any specific pieces (photos).
I haven't looked at the code or the db schema for ZP, so I am honestly unaware of how easy this would be to add, either officially or as a 'hack'. As I know there are other feature priorities and album comments isn't something most users are going to need/want, any pointers for the latter (hack) would be appreciated.
Thanks.
As a hack, the best way to do it would be to use the image comment code (classes.php, Image class) and create a sort of "dummy image" for each album, then add the comments onto it... very hacky, and probably not compatible with the garbage collection (the image will be destroyed, since it doesn't actually exist). Alternatively, use the current comments table with a new field (albumid) and copy the comment methods from the Image class to the Album class, except insert on the albumid instead. Pretty complicated, but more robust (and probably less buggy) than the first idea...
Now, since this is a feature request, I'll say the right way to do it is to wait until we have a common inherited "zp object class," which all Images, Albums, and Groups will inherit from, and contains the commenting code. All comments will go into the comment table and can be attached to anything, and themes can display comments for anything. That sounds ideal, but will have to wait for a 2.0 rewrite. I will add it to the list for sure.
@Blair, and we do have a common object class, just not a common object identifier. Essentially it's a polymorphic association, so we need both a type (table) name and an id to reference. Not terribly difficult to add to the comments table...
But, comments themselves are not treated the same way as albums and images, so you can't comment on a comment, though that would be interesting for "threads". We should look into it.
I use simpleviewer on my site. What I have done is provide a link to the image page so that people can view an individual image (to see the exif data, etc.) There they can comment on the image.
The comments on albums ticket has been recorded. So far no one has stepped up the implementation, though.
Got the following error
Zenphoto Error
MySQL Error: Zenphoto could not connect to the database server. Check your zp-config.php file for the correct host, user name, and password. Note that you may need to change the host from localhost if your web server uses a separate MySQL server, which is common in large shared hosting environments like Dreamhost and GoDaddy. Also make sure the server is running, if you control it.
@All, Have a wonderful Weekend