The Arcive of vBulletin Modifications Site. |
|
Resize Images in vBadvanced News Module Details »»
|
|||||||||||||||||||||||||
This mod will automatically resize images in the vBadvanced News Module to a given maximum width.
Step 1: Go to adv_portal_newsbits template (under vbAdvanced CMPS templates) and search for: PHP Code:
If you can't find that, then search for: PHP Code:
Immediately before whichever of those you find in your template, add: PHP Code:
Save --------------------- Step 2: Add the following under Additional CSS Definitions (replace "512" with whatever max width you want): PHP Code:
or for better (but still not perfect) support in Internet Explorer, use this instead: PHP Code:
Save That's it. Worked for me. This mod is unsupported, as I have almost no knowledge about these things. I was able to get it working based on what I found here: http://www.vbadvanced.com/forum/showthread.php?t=40139. The vB4 version of this mod is here: https://vborg.vbsupport.ru/showthread.php?t=247434 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
works like a charm
|
|
#3
|
|||
|
|||
|
can you integrate it with the nCode image resizer add-on please?
|
|
#4
|
|||
|
|||
|
Was looking for this exact thing tonight. Works like a champ!
|
|
#5
|
|||
|
|||
|
If you want it to work the same as your theme, just use <div class="content"> so you don't need any further CSS
|
![]() |
|
|