Resize Images in vBadvanced News Module
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:
$news[message]
If you can't find that, then search for: PHP Code:
<blockquote class="postcontent restore">{vb:raw news.message}</blockquote>
Immediately before whichever of those you find in your template, add: PHP Code:
<div class="news IMG">
Save --------------------- Step 2: Add the following under Additional CSS Definitions (replace "512" with whatever max width you want): PHP Code:
.news IMG
or for better (but still not perfect) support in Internet Explorer, use this instead: PHP Code:
.news IMG
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/index.php?t=40139. The vB4 version of this mod is here: Resize Images in vBadvanced News Module Download No files for download. |
Similar Mods
Miscellaneous Hacks Resize Images in vBadvanced News Module | vBulletin 4.x Template Modifications |
vBadvanced CMPS - News Digest Module 1.02 | vBulletin 3.0 Full Releases |
Portal Software A Better News Module Fix for vBadvanced CMPS 2.2.1 | vBulletin 3.6 Add-ons |