In G2, the option to modify captions/titles/summary of all pictures in an album in one place is gone. This was available in g1. There was a page where all the pictures in an album is listed on the left and you can edit their captions/titles on the right hand side. I would like to see that feature back at the album level in G2. It makes editing captions/titles much easier.
Thanks, and Happy New Year!
Posts: 8601
ya, we'd like it too.. but someone has to write it.. any takers?
Posts: 14
Ok, since I asked, I took a stab at it myself. I got a VERY ROUGH version working.
Attached are the 3 files needed for mass edit of captions. Here is what I did:
I modified module.inc very slightly to add the link for "edit captions". I then created ItemEditCaption.inc and ItemEditCaption.tpl. I basically cloned them from ItemDelete because that had a list of all thumbnails. I then modified the RequestHandler quote based on ItemEditItem.
By VERY ROUGH, I mean the following:
1. I got it to a point that it is just working, for my needs. I did not test it for all possible situations, so it may very well fail in other situations. Ie, no stress, regression, or boundary testing.
2. In fact, I didn't even rename all the variables in the scripts properly. So the script may be a bit confusion to read
3. I do not know the code base that well. So, I simply modified things to make them work. It may not conform to the coding standard for this project, if there is any.
4. I did not bother with check-in the files into CVS because I don't think they are mature enough.
I sure hope one of you guys likes this feature and would actually spend the time to polish the code changes I made and make it part of the next release.
Thanks. 45 minutes to 2005, yeeeahh.
Changpeng Zhao
Posts: 7994
Thanks for getting the ball rolling, Changpeng. I've picked this up and am working on it, should have something to commit tomorrow.
Posts: 7994
I just committed this feature tonight. Check out the next nightly snapshot (or wait a few hours and get it from CVS) and let me know what you think.
Posts: 3
So, why is this feature not in G2 Beta?
Or is it just hidden very good?
Posts: 8601
"Edit Captions"
Posts: 3
:o Well, were exactly is that link located?
Posts: 32509
mstr, you need at least g2 beta 2 (core version 0.9.10). of course, in german this link has another name.
it should be in the "actions" list of links in left hand side menu when viewing an album.
Posts: 5
Is there a way to change the date of all the photos in an album at once?
Cheers - Stuart
Posts: 32509
see site admin -> maintenance -> refresh capture dates.
if you need something different, you could copy this maintenance task (source code) and adjust it to your needs.
Posts: 5
Hmm - sounds possible... What happens to files that don't have EXIF dates - do these get reset or do they keep the dates that I have manually added?
Thanks - Stuart
Posts: 8601
no change is made to those items.
Posts: 1
Was wondering if there was the same type of thing but for watermarks ? we would have all the pics listed ... and could choose wihch ones to put a watermark for ... ?