Additional Image descriptions

nairohe

Joined: 2003-02-01
Posts: 6
Posted: Sat, 2003-02-01 05:39

I've been using gallery for about a year now and I just LOVE it! I wouldn't switch it for anything else. It might be a good idea if it would be possible to have additional descriptions for the image after you click to view the thumbnail. I've looked around the archives and forum to see that many other people are interested to have this particular feature or are looking for ways to have this option but couldn't seem to have any answer.

It would be nice if you could add options like

Title : (This would be the only caption visible under the thumbnail)
Date added:
Medium: (I'm an artist. This would be very useful at least for me.)
Description: This would be additional description added by the artist about the image.

It may also be a good idea if there is an option to add, remove or change these particular fields because some people may want other options available to them. Right below these features you could just include the comments and the option to add a comment. Unless it would be ok to just have the ADD COMMENT link right below the description so that there is a pop up window of all the comments made on the image. Either way works for me.

 
motdakasha

Joined: 2003-02-07
Posts: 7
Posted: Fri, 2003-02-07 03:30

I agree. I also think it would be great if the keywords and the date the picture was taken could be fields to display after you've clicked the inital thumbnail to view the picture.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2003-02-07 09:42

Hello. I can tell you that there are immediate plans to add a "title" field to each photo, perhaps in v1.3.4 (if I get my act together). This would allow you, perhaps, to use the title field for a short caption and then the caption field for something more detailed. You would probably have to edit the layout (i.e. delving into the code) to have everything appear the way you want, however.

G2, when released, will be more flexible about layout, and what you can and cannot see (it's all up to you). So expect adding new fields to become much simpler then. It's not too difficult to add new fields to G1 either... if you're interested, ask in the customization forum, and I'll see if I can throw together a quick tutorial in 5 minutes. Again, it involves mucking w/the PHP code.

-Beckett (

)

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2003-02-07 10:18

Whoops! I've (again!) spoken too soon...

Joan has written some code to do just this. Read here:
http://gallery.sf.net/forums.php?topic=3717

-Beckett (

)

 
MysticGirl
MysticGirl's picture

Joined: 2003-01-06
Posts: 81
Posted: Sun, 2003-02-09 01:53

Was that what you were going to do also Beckett? Joan's hack is great, but it is on an album by album basis. I would like something that is global and the user can enter when they are uploading their images. I tried to put something together myself, but it didn't work. I'm afraid I'm a bit out of my depth with this one......could you maybe point me in the right direction?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Tue, 2003-02-11 10:05

Hmm... let me get back to you on this one... I'm currently trying to get *something* like the extra fields bit into Gallery, and it would probably be a global thing. I'm looking into it... :smile:

-B

 
MysticGirl
MysticGirl's picture

Joined: 2003-01-06
Posts: 81
Posted: Tue, 2003-02-11 21:51

Oh great, I can't wait to see what you come up with! :grin:

 
MysticGirl
MysticGirl's picture

Joined: 2003-01-06
Posts: 81
Posted: Sun, 2003-02-23 02:21

Actually, Joan has added a extra fields on upload modification to it. So, if you could just take her original extra fields modification and make it so that the admin could add extra fields for the entire gallery from albums.php that would be the easiest way to go. I have to look at the code and see if I can figure out how everything is done, but for the most part, the hard work is done. The extra fields as they are now can be applied to sub-albums...just thought I would bring this up again. :grin:

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Tue, 2003-02-25 00:27

So MysticGirl, we meet again :smile:

I've modelled the extra field code on properties. So you can can set a default set of fields from the configuration wizard that will be applied to new top level albums. Any changes made in an album can be recursively applied to all the sub albums, and new subalbums will inherit the extra fields of their parent albums.

Sure, if you've got a lot of top level albums, it's a bit of work to change them all, but if you have a lot of top level albums and you decided to change the colours, that's going to take a bit of work, too.

 
injigo

Joined: 2003-03-07
Posts: 19
Posted: Fri, 2003-03-07 10:55

so would it be possible to get an option to add text at the top of a given album - a description, yes, but not one that gets displayed on the top-level page with the album name and hilight thumbnail? i've got some descriptions for some albums that are quite lengthy - too lengthy to put in the "album description" box because all that text will look horrible on the top-level album thumbnail page. i'd just like it to come up at the top of the album's page when you're looking at the photo thumbnails. maybe? :smile:

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Fri, 2003-03-07 14:36
Quote:
so would it be possible to get an option to add text at the top of a given album - a description, yes, but not one that gets displayed on the top-level page with the album name

Yup, have a look at Eva's code at <!-- BBCode Start --><A HREF="http://gallery.sf.net/forums.php?topic=3628" TARGET="_blank">Solution: album summary hack</A><!-- BBCode End -->

(personally, I would do it in the same way as the extra fields - and have it so you can edit it in the album properties box, but don't look a gift horse in the mouth)