Quote:
Originally Posted by vissa
I had to disable this mod only because if I set the vertical dimension to be fixed, then the picture can become ridiculously large in the horizontal dimension.. I realize it's not this mods fault, but we really need a way to specify width/height independently as a MAX (taking ratio into account -- which is not that difficult).. However it may need to be implemented in the thumbnail resizing code separately from this mod.
-vissa
|
Hope this help
PHP Code:
<td align="center">
<a href="album.php?albumid=$lpicture[albumid]&pictureid=$lpicture[pictureid]">
<img title="$lpicture[title]" class="inlineimg" src="picture.php?pictureid=$lpicture[pictureid]&albumid=$lpicture[albumid]&thumb=1" border="0" alt="$lpicture[title]" style="width:expression(this.width > 120 ? 120 : true); height:expression(this.height > 120 ? 100 : true)" />
</a>
<br />
<a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a>
<br />
$lpicture[title]
</td>