![]() |
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.
|
All times are GMT. The time now is 05:15 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:
|