![]() |
Resize Images in vBadvanced News Module
1 Attachment(s)
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 |
works like a charm
|
can you integrate it with the nCode image resizer add-on please?
|
Was looking for this exact thing tonight. Works like a champ!
|
If you want it to work the same as your theme, just use <div class="content"> so you don't need any further CSS
|
All times are GMT. The time now is 08:04 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:
|