View Full Version : Specify image dimension
qwer81
09-15-2012, 12:00 PM
Hi guys,
gtmetrix indicates that I have to Specify image dimensions. But I don't know how. How do I specify these images? Where?
Thanks! :)
CAG CheechDogg
09-15-2012, 08:53 PM
You have to find the image in your template and it would look something like this:
<a class="collapse" id="collapse_c_cat{vb:raw forum.forumid}" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b.png" title="Close this box" width="16" height="16" alt="" /></a>
Notice the width="16" and height="16", that is what you need to do for every image that gtmetrix wants you to specify image dimensions for.
--------------- Added 1347746160 at 1347746160 ---------------
Do not resize images using this, gtmetrix wants you to use the correct image dimensions.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.