I have a problem with the Getimagesize() function used in a gallery module template.
Each time the gallery is loaded, only the sizes (width and height) of a few images are retrieved, sometimes all of them. It's completely random and not necessarily the same images. I obviously tried with different images from different sources
Code: Select all
<ul>
{foreach from=$images item=image}
{$imagesize=getimagesize($image->file)}
<li> name : {$image->file} <em>width :</em> {$imagesize[0]}- <em>height:</em> {$imagesize[1]} </li>
{/foreach}
</ul>
I spent hours there and I admit I don't understand what's going on....