Location of captions, larger font size?

DaveO

Joined: 2002-11-05
Posts: 22
Posted: Tue, 2002-11-05 05:36

I'm thinking of using Gallery to post albums. I've looked at several of the sample albums but have not seen one with captions to the side of the pictures - all are below the pictures. Hoping that captions can go on either side so that viewers don't have scroll down to see the text if the picture is large.

Also, all the captions seem to be displayed in very small text. Is there a selection of fonts and sizes when posting the captions?

Thanks

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Tue, 2002-11-05 07:49

Someone did a customization that puts the captions to the side of the images, you can find out more <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpWiki&amp;file=index&amp;pagename=Altering%20the%20appearance%20of%20the%20column%20setup" TARGET="_blank">HERE</A><!-- BBCode End -->.

As for text size and fonts - edit the standalone_style.css (in the css folder). If you look in the layout folder you will find the comment.inc files, which will give you a clue as to what classes you'll need to add or change for your desired results.

 
DaveO

Joined: 2002-11-05
Posts: 22
Posted: Wed, 2002-11-06 04:35

Thanks - I looked at the Toronto album, but I'm talking about the main pictures, not the thumbnails. Is there a way to get the captions to the side of the main pictures?

It's not such a problem having the captions under the pictures if they are in landscape mode, but when I have to display them in portrait, they are longer vertically and unless they are way small, the viewer has to scroll the screen down to see the text. That's what I'm trying to avoid.

Also - new question: Is there a way to tell the album not to display the captions with the thumbnails?

DaveO

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Wed, 2002-11-06 07:11

Hi

Regarding your question about moving the captions to the side of main photos, I *thought* someone had tried that and succeeded, but a quick search turned up nothing. Hopefully someone else can remember for sure, but I can't....sorry!

However I do know how to remove captions from the thumbnails!

Just comment out the following lines in the view_album.php -

----------
$myDescription = $myAlbum->fields[description];

and

echo($gallery->album->getCaption($i));
----------

That's it! :smile: