|Posted: Thu, 2005-06-02 12:37|
I'd like to wrap photos in the singleBody view in a <div> with fixed width. Now the question is, how to get the actual width of the photo that gets displayed. From the smarty debug info, I constructed the following:
... inside singleBody.tpl:
That works for now, but is this method safe to use (e.g. are there situations where the $imageViews array is empty?).