vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=214600

Quick Auto Image-Resize (Posts & Signature)
by Gio~Logist
26 May 2009 18:22

1 Attachment(s)
Brought To You By
ModernvB - Vbulletin Solutions & Services
http://www.modernvb.com

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.

If you're looking for something with a bit more options and functionality (javascript effects, more options, etc.) please take a look at:
Image Resizer.

Install
1. Import Product
2. Set a Maximum Width in Admincp, under Quick Auto Image-Resize (Posts & Signature)

This really is just a simple mini-mod. Nothing too fancy at all. Had someone who wanted the resizing done strictly with css and suggested I do something like this and offer it as well - so here ya go.

OcR Envy 26 May 2009 18:23

XHTML Valid?!

Gio~Logist 26 May 2009 18:37

Don't see why it wouldn't be ;)

Taragon 26 May 2009 18:56

Thanks, it's nice to have a well supported image-resizing mod again. Any chance album pictures will be included in future updates?

erateinow 26 May 2009 19:00

works good (Maximum Width 900) thanks :)

puertoblack2003 26 May 2009 20:50

thanks for this :up: anyway of incorporating this with vadvance ? the image don't resize there.

Mike-D 26 May 2009 21:07

Simply amazing Tool :) Thank you, Giovanni => Installed

Skyrider 26 May 2009 21:52

Possible you can add a demo page?

n_only 26 May 2009 22:14

this only control the width, are there any hope to control image hight and with ?


thanks :)

djbaxter 27 May 2009 00:13

Quote:

Originally Posted by Gio~Logist
(not much of a fan with ie anyway, but that's besides the point)

No, it's not "besides the point". If anything, it's beside the point.

Gio~Logist 27 May 2009 05:32

Quote:

Originally Posted by djbaxter (Post 1817787)
No, it's not "besides the point". If anything, it's beside the point.

Well that's aside from the fact that my vocabulary senses weren't beside me. lol, Thank you baxter.

Quote:

Originally Posted by Mike-D (Post 1817699)
Simply amazing Tool :) Thank you, Giovanni => Installed

;)

Quote:

Originally Posted by FF|Skyrider (Post 1817718)
Possible you can add a demo page?

Can someone link over a thread with an example? I'm testing on a client's website ATM, but it basically just resizes the image and allows you to click on 'em.

Quote:

Originally Posted by n_only (Post 1817738)
this only control the width, are there any hope to control image hight and with ?


thanks :)

I'll try and incorporate a max-height in there as well sometime, when I get a chance.

Quote:

Originally Posted by Taragon (Post 1817614)
Thanks, it's nice to have a well supported image-resizing mod again. Any chance album pictures will be included in future updates?

No problem! I'll probably be updating this with pm's and albums soon enough. Will keep you posted.

Quote:

Originally Posted by erateinow (Post 1817617)
works good (Maximum Width 900) thanks :)

:up:

lm3a.net 27 May 2009 06:22

Installed ,,

thank u

Jah-Hools 27 May 2009 10:05

Can the resizing be applied to just signature images?

Thanks

Jasem 27 May 2009 14:32

Nice work, thank you!

puertoblack2003 27 May 2009 16:14

uninstalled!!! not what i wanted.Need it to be global


been using this http://www.vbulletin.org/forum/showt...176531&page=24


All times are GMT. The time now is 09:11.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.