View Single Post
Old 04-14-2014, 09:26 PM   #6
Partition Master
RainMotorsports's Avatar
Join Date: Jul 2011
Posts: 359

Well for resizing images without the plugin is simple CSS. You'd need to figure out a selector for all images within the div that contains the post. I'm on my phone so I can't get the div class and the rest is off my head so take it as an example only.

The selector would be something like .divclassname IMG {} and inside of it you would do a max-width and then probably set height to auto so that the resize keeps aspect ratio. Pretty common these days maybe not so much when VB 3.x was fresh but IE6 is dead now so no worries.

As far as writing your plugin to allow click to resize or click to open on non linked images without hijacking linked images is possible. But off the top of my head...
Desktop i5 2500K @ 4.5Ghz | ASUS P8Z68-V PRO | 16GB Corsair Vengeance 1600 | Seasonic X750
MSI GTX570 TF III @ 950/1900/2300 | 2TB 5900 + 2X320GB 7200 RAID0 |
Zalman CNPS9900 MAX
Laptop ASUS G50VT | Core2Duo T9600 @ 3.3Ghz | 9800M GS/GTS @ 650/1625/900
Phone Galaxy SII Epic 4G Touch | CyanogenMod 9 (Nightly 6/20) | FF11 Kernel | FF18 Modem
RainMotorsports is offline   Reply With Quote