On the album (overview) page I added the picture title below each (uncropped) thumbnail: ``.
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.
`` gives me the width of the original picture even when inserted into the thumbnail loop.
Any suggestions?