Game Development Community

Images in the forum

by Martin Askestad · in Site Feedback · 11/09/2005 (12:09 pm) · 8 replies

Adding images to forum posts is great. But there is one detail that bothers me. If and image is really large, the width of the posts increase. And you have to scroll sideways to be able to read the posts.

I know that the images are linked from other sites, so there is no way of checking if the size is "too large". But it's quite easy to overcome, by having the images displayed resized. And clickable to see the original image.

Just a thought.

#1
11/10/2005 (12:02 pm)
I would just scream endlessly at the person who posts huge screenshots. I have some script laying around to resize large images on the client side, but I've only used it for hopeless cases.

Nevertheless, I'll keep an eye out for a solution.
#2
11/10/2005 (2:04 pm)
Word.

in simple testing, adding style="max-width:100px" to an img tag will do the trick pretty nicely.
#3
12/02/2005 (4:30 pm)
Works fine on Firefox, but not on IE.
#4
03/28/2009 (8:27 am)
Nothing works on IE.
#5
03/28/2009 (9:55 pm)
While I agree with your comment, you have resurrected a post from 2005.

We can only hope it doesn't go zombie on us and start eating nearby posts.
#6
03/29/2009 (7:06 am)
Hopefully this will count as a headshot.

Take out the asterix and there's the code to resize an image. Though it should be said for really big images it's probably best to resize them for the sake of everyones bandwidth.

[*image* width=640 height=480]yourimage.jpg[/*image*]
#7
03/29/2009 (4:33 pm)
headshot!


.. i'm on a killing spree myself over in this thread.
#8
03/30/2009 (10:31 am)
oops