1. Meta
  2. SIMG BBCode

The simg bbcode for is large image scaling/previewing.

Code:

[simg=200]http://i40.photobucket.com/albums/e233/warptman/2009/IMG_7202Large.jpg[/simg]
Note: the parameter passed influences the width of the image (in pixels), while the height scales accordingly.



It should be noted that the forum isn't doing anything to the image; this is just spitting out CSS to tell the browser to render the image smaller, although it obviously pulls down the whole thing in its native resolution, then scales it client-side, etc.

Quote Originally Posted by Ptah
I can think of a few ways to improve this over time, if it sticks. Like making the full-size image open in a "soft" window rather than a whole new window (like attachments do already, I think).

This page has been seen 1,339 times.

Comments

  1. No comments have been posted for this discussion.