thumbnail width

On the album (overview) page I added the picture title below each (uncropped) thumbnail: `<?php echo getImageTitle();?>`.

So far so good. However, the picture title in most of the cases doesn't fit into the thumnail width. It enlarges `
` beyond the thumnail width.

In order to align the width for the title field to the width of the picture I need that thumbnail width. The code then would look like `
and the title would nicely fit below the thumbnail.

`<?php echo $_zp_current_image->getWidth(); ?>` gives me the width of the original picture even when inserted into the thumbnail loop.

Any suggestions?
Sign In or Register to comment.