View Single Post
Old 2003-04-17, 03:32 PM   #1
sperry
The Doink
 
sperry's Avatar
 
Real Name: Scott
Join Date: Nov 2002
Location: Portland, OR
Posts: 20,335
 
Car: '09 OBXT, '02 WRX, '96 Miata
Class: PDX/TT-6
 
The way out is through
Default [img] tag now allows you to define a width!!

For everyone that hates those big ass pictures, I got my hack on and added support for specifying the display width of a picture in an [ img ] tag.

The spec is like this:
[ img]image_url[ /img] for displaying the image at its natural size

or
[ img=width]image_url[ /img] to specifiy the display width of the image.

Here's an example:

[ img]http://doink.net/gallery/Photo%20Album/ALMS%20-%20Laguna%20Seca%20-%202002/Supercharged%20Integra.jpg[ /img]


[ img=600]http://doink.net/gallery/Photo%20Album/ALMS%20-%20Laguna%20Seca%20-%202002/Supercharged%20Integra.jpg[ /img]
[img:9c738ff620=600]http://doink.net/gallery/Photo%20Album/ALMS%20-%20Laguna%20Seca%20-%202002/Supercharged%20Integra.jpg[/img:9c738ff620]

So, if you're posting large pics, specify the width around 600 to 800 pixels so it doesn't stretch out the browser.

I'm now gonna check into setting a larget thumbnail size for attachments, so they'll be smaller too.
__________________
Is you is, or is you ain't, my con-stit-u-ints?
sperry is offline   Reply With Quote