Quick Auto Image-Resize (Posts & Signature

MobileHacks

New Member
Here's a very simple mini-mod that will resize all images in posts & signatures by using a max-width css attribute, along with an onclick function to open the normal-sized picture in a new window.

This product is super simple and has only a few lines of code. Keep in mind that as far as I know, max-width still gets rendered a tad off on IE (not much of a fan with ie anyway, but that's beside the point) on certain versions. Although i tested on IE7 with only a few images and it didn't look so bad at all. Perfect for me on firefox, chrome, etc.

Install
1. Import Product
2. Set a Maximum Width in Admincp, under Quick Auto Image-Resize (Posts & Signature)
 
hey there are some problems with this mod:

1st, it makes all images clickabale, even those smaller than the minimum width (this is not a big issue)

2nd, when an image is already clickable (a banner for example) the mod adds a 2nd link to it, so with 1 click you get two windows open. I prefer that linked images are excluded from the onclick function.
 
Thank you
icon7.gif
 
Back
Top