jsymonkj / pwi

Automatically exported from code.google.com/p/pwi
0 stars 0 forks source link

Breif caption when using showPhotoCaption TRUE #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When displaying the caption under the thumbnail, instead of using the whole 
caption, use only  x number of characters starting with the first character. 
This way the brief caption will fit under he thumbnail and not cause a 
formating problem. x could be a fixed number like 15 or it could be an option 
you set. 

Original issue reported on code.google.com by Greg.J.P...@gmail.com on 11 Nov 2009 at 10:36

GoogleCodeExporter commented 9 years ago
Good idea, will take it with me in the next update.

Original comment by jdiderik on 12 Nov 2009 at 8:20

GoogleCodeExporter commented 9 years ago
can you also make the brief caption a hyper link? so the user can click  the 
image or 
the caption to go the larger photo? 

Original comment by Greg.J.P...@gmail.com on 12 Nov 2009 at 6:59

GoogleCodeExporter commented 9 years ago
fixed, now you can assign a max length to photo captions with: 
photoCaptionLength
default = 0, unlimited
Added showPhotoCaptionDate (default = false) for also adding date of photo to 
caption or not (used to be only 
in the alt-tag of the thumb, thus showing up on mouse hover)
Captions now also are linked as the thumb is.
Added text-decoration:none to keep the captions clean, see the css for 
".pwi_photo a{}"

Original comment by jdiderik on 18 Jan 2010 at 7:30

GoogleCodeExporter commented 9 years ago
updated in revision 83

Original comment by jdiderik on 18 Jan 2010 at 9:04