PDA

View Full Version : Add width and height to icons and other images



VirtueTech
Sat 17th Jun '00, 7:23am
Hello,

This suggestion is quite simple but makes the rendering and the load time faster on most browsers.

Add width and height to the icons and other images displayed by the forums. :)

You'll notice that when you load any forumdisplay that it extends the icon table out to the right untill all the images are loaded in an Internet Explorer browser. This would eliminate that.

Just a thought.

bira
Sat 17th Jun '00, 7:24am
why can't you do it yourself in the templates?

VirtueTech
Sat 17th Jun '00, 7:29am
This is a suggestion for future versions.

You have to edit forumdisplay.php to set the width and height for the posting icons. Which is 15 x 15.

UserName
Sat 17th Jun '00, 8:08am
I was thinking about this very thing today as I watched my board stretch itself and shrink itself while loading a page.

werehere
Sat 17th Jun '00, 12:32pm
Yes this has been suggested before, and I do agree that it is a good one :)

Aldreis
Sat 17th Jun '00, 3:47pm
> Yes this has been suggested before
Here (http://www.vbulletin.com/forum/showthread.php?threadid=12), with an interesting suggestion by Stallion.

Craig A
Sat 17th Jun '00, 5:53pm
I added width & height attributes to all img src tags a while ago. That, along with splitting the posts into individual tables has made our forum load lightening fast to how it did. Yes, width and height should be added to all php files asap!