Back to vBulletin 4.x Template Modifications

VBcms Image Resize
Mod Version: 1.00, by Ohiocustoms

vB Version: 4.0.4 Rating: (10 votes - 4.70 average) Installs: 36
Released: 26 Jun 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

First posted mod. I didn't want to click the pencil for every picture in an article. I'm surprised this wasn't included in 4.04 Very simple to install. Before and after images included.

Step 1
Admincp>Styles & Templates>CSS Templates>vbcms.css

Code:
.article img {
	border:0;
	margin:{vb:stylevar padding};
Replace with

Code:
.article img {
	border:0;
	max-height:{vb:stylevar vbcms_article_image_large_maxSize};
	max-width:{vb:stylevar vbcms_article_image_large_maxSize};
	margin:{vb:stylevar padding};
Click Save

Step 2
Then open stylevars and edit vbcms_article_image_large_maxSize to whatever value works best for you.

Download

No files for download.

Screenshots

Click image for larger version
Name:	before.jpg
Views:	758
Size:	83.0 KB
ID:	118842   Click image for larger version
Name:	after.jpg
Views:	702
Size:	90.8 KB
ID:	118843  


vblts.ru supports vBulletin®, 2022-2024