[HOW TO - VB4 + VBSEO] Site Optimization: Easily Specify Image Dimensions
One of the high-impact criteria of a fast web page is whether image dimensions have been specified in html or not. Without image dimensions, web browsers must "reflow" and "repaint" the image once it is reloaded.
The problem is that specifying image dimensions can be tedious. One would be required to edit each template and insert dimensions manually. To make matters worst, there are hundreds (if not thousands) of images in vbulletin, some of which aren't even used. Conventionally, one could run a get image sizes script to pull all images and respective dimensions from vbulletin. This method returns thousands of results, most of which are images with no need to be optimized. I found a very easy solution using VBSEO. If you don't use VBSEO, this article won't be of much help.
I haven't figured out how to do google adsense and external images with this method yet. And that's it! You're done. |
Thanks you for this.
Im looking into it now. |
Hi Lazorbeam,
I"m using another folder to place my image .ex : http://example.com/newfolder/smile.png How to write the path in vbseo? Thanks for any help and sorry for bad english. |
Quote:
http://example.com/newfolder/smile.png http://example.com/smile.png You would have to include the path for the images above. Otherwise it's simply /newfolder/smile.png |
Ok,it works.Thanks :)
|
this is a great tutorial mate
ty |
great... i will try this after installing vBSEO today ISA
thanks |
I f not having vbseo then what to do in vb 4.2
|
I also do not have vbseo
|
I have used this and managed to remove some of the images from the list, yet i'm still getting an F (0) result for this test.
Some of the files I hadn't removed were avatars/avatar thumbnails (As instructed). I've also not managed to specify sizes of files which do not sit on my website. Any idea as to why this is? I can give you my url in private to have a look if you want :) Thanks! |
Quote:
You can do avatars and profile pictures, but it's a somewhat futile exercise because there are thousands (for me, at least) cycling through your pages. |
Great thanks!
|
If only there were a mod to automate this process for every image....
|
All times are GMT. The time now is 11:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|