View Full Version : How to put Image Dimensions in VB4
Mark_Zuckerberg
09-30-2012, 08:13 PM
I was searching for specify image dimensions in vbulletin and i came up with this link
http://www.vbseo.com/f28/automatically-retrieve-image-dimensions-1601/
but this will work if you have vbseo installed while if we not have vbseo installed then what should we do can any one explain?
CAG CheechDogg
09-30-2012, 09:03 PM
Ok Mark here you go. To add image dimensions you do the following:
<a class="collapse" id="collapse_forum_info" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" width="16" height="16" alt="image description optional but sometimes asked" /></a>
Use firefox and locate the image, some are not so direct but you can still figure out in which template they are in. simply add the code in red to your image and you have image dimensions done.
Mark_Zuckerberg
09-30-2012, 09:21 PM
but after testing my site i get these links to optimized what to do with taht mate
http://www.yourdomain.com/images/misc/tab-collapsed.png
CAG CheechDogg
09-30-2012, 09:34 PM
Those small images are all the png's that you see on the templates which are 16x16 so it is not hard to find them at all. Just do what I posted above and you will be fine.
If you have time later tonight in about 4-5 hours I can help you through teamviewer.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.