![]() |
Image Resizer - CMS | Blogs | Posts | Signatures | Albums | VM's | PM's
Image Resizer - CMS | Blogs | Posts | Signatures | Albums | VM's | PM's - Using JQuery Script
This hack resizes LARGE images in CMS, Blogs, Posts, Signatures, Albums, Visitor Messages, Private Messages ... Warning: Please note that this hack will resize all LARGE images in the IMG tags. If you are using large images for your logo or background and they are in IMG tags they will be resized too. This hack works perfectly fine with default vBulletin styles and in Internet Explorer 8, FireFox 3.5, Chrome and Opera. You have the option to:
LIVE DEMO Username: demo Password: demo Installation: Upload jquery.min.js to clientscript folder. Import the XML file via Plugins & Products > Manage Products > Add/Import Products. Note #1. This script will work after page is fully loaded. While the images are being downloaded they will be seen in full size. Note #2. At the moment there is option to resize/exclude images in signatures. Signatures will be resized to the same size as posts. If you have a LARGE LOGO and you dont want resized, do this: In the header template find: HTML Code:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div> Replace it with: (Edit the height and width in the above code to the size of your logo.) HTML Code:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image" title="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}"> And this for other images you don't want resized: Normal img tag: HTML Code:
<img src="image.png" width="600" height="120" border="0" alt="" /> HTML Code:
<span style="background: url(image.png) no-repeat; width:600px; height:120px; display:block"></span> _________________________________ _________________________________ Please nominate this modification for the MOTM. Please support me by donating ... click the link on the right. (Support Developer) Please remember to click Mark as Installed if you use this hack. _________________________________ _________________________________ 13 March 2010 Version: 1.0 Released . |
didn't work for cms posts already existing.
|
Did you upload the jquery.min.js to clientscript folder?
|
It works with vBadvanced ?
|
tested but it's not work like your old Mod https://vborg.vbsupport.ru/showthread.php?t=237650
it's open the image in new window not in the same page |
KJ, I am using other mod. What is the major difference?
|
Holy crap ...
This mod RE-SIZES my FORUM LOGO. ( On the forum home only ) UNINSTALLED. |
Reserved
|
yes it was.. but seriously didnt work at all..
|
This is a nice mod, but I wait until the stable version. Because right now, I see too many complainer :D.
|
Tagged for future use when this mod is polished
|
Quote:
|
Thank you!
Will install it in a few minutes. |
Can you minimize the jquery.min.js file?
Because it is loaded on every page. |
.
LIVE DEMO adeed. Quote:
Quote:
Quote:
|
Quote:
|
good one.. but here is what i want...
I want signatures to resize, but i do not want to show that yellow strip on top of the image, that says "click here to view the full size image" .. but at the same time i want that to show to in post... Is it possible to do that? |
Just what I was looking for!
|
Quote:
|
I'm using the other hack & loving it. the only downside it has is that i can only set width
I would love to be able to limit both the height & width (which this new version allows) but without having to manually make template changes. Most of the themes I use have large headers & my forum has several themes. Even though the addition of lightbox would help make it more fancy (would be sweet if it could be coded to make use of vB's lightbox), it really isn't needed. Just a simple hack that resizes large images posted by the members in specified regions is all we need. |
This seems like a good hack but having to add every image you don't want to re size to your header is really a hassle. :down:
This mod also will re size any images you have in your advertisement blocks. So how do you prevent it from resizing your ads? |
can u set if 728x90px ignored ?
|
Why is this making my images smaller than the specified height and width?
EDIT: No worries, I fixed the issue. I'll be marking this as installed. Thank you for this! :) |
Question: It's not better to give the image, there not to resized a class? For example :
<img src="example.pic" class="notresized" /> ? Cheers AndrewD |
uninstalled:down:
|
Quote:
|
What about option to define the size of signature?
|
All times are GMT. The time now is 01:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|