Quote:
Originally Posted by Mutt
if you wrap an img tag with an url tag, this mod will break it. plus it highslide links every single image regardless of size.
I used just the max width info without the highslide link. this give me the max width protection for IE & Firefox without breaking anything. small images are ignored. it just makes big images small.
the only thing missing is a link to view the full sized pic. I tired using getimagesize() to pic & choose when to apply the highlisde linky but it really slowed things down. besides it didn't work for direct links to VB attached images.
for now I'll live with being able to just scale down the pics. thanks
will be looking for safari & opera solutions. neither currently works.
|
for attachement :
Update: Use highslide for Attachment Thumbnail
4. Open Temp. postbit_attachmentthumbnail
Replace with:
PHP Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" class="highslide" onclick="return hs.expand(this)" id="attachment$attachment[attachmentid]"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1&d=$attachment[thumbnail_dateline]" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" style="width: expression(this.width > 140 ? 80 : true);" /></a>
<if condition="$show['br']"><br /><br /></if>
###################