PDA

View Full Version : Can I resize an img in a post



Eguzki
2012-01-04, 02:18 PM
I have an image I want to add to one of my posts however it is way to big. Can I resize it in the forum like I can in HTML, (ie <img height=100px width=50px></img>)?

Zherog
2012-01-04, 02:31 PM
Short answer: No.

Longer answer: No, you cannot. :)

(You can -- and should, if it's real big -- put it inside a spoiler block. the browser will still load the image every time the page loads, but it won't be visible to the viewer without opening the spoiler.)

Elder Tsofu
2012-01-04, 03:41 PM
Some hosting sites might have a resize option built in (photobucket as an example), an other way is to resize it on your computer and re-upload it.

Eguzki
2012-01-04, 04:01 PM
Thanks for the quick answers. That's what I thought but i figured I should ask first. I'll just resize it then upload it again.

Rawhide
2012-01-04, 04:15 PM
I have an image I want to add to one of my posts however it is way to big. Can I resize it in the forum like I can in HTML, (ie <img height=100px width=50px></img>)?

As an aside, you should never "resize" images using the HTML code. It's very bad practice. You should make the image the correct size, then use the HTML code to identify the exact dimensions.

Yora
2012-01-04, 05:15 PM
Because, as in the case Zerog mentioned, you still have all the data that needes to be transmited every time you load the page.

Siosilvar
2012-01-04, 05:26 PM
As an aside, you should never "resize" images using the HTML code. It's very bad practice. You should make the image the correct size, then use the HTML code to identify the exact dimensions.

That's because you still get the whole image, but it just displays smaller, right?

Shhalahr Windrider
2012-01-04, 06:31 PM
That's because you still get the whole image, but it just displays smaller, right?
Exactly. Slows down load time and eats up bandwidth.

Eguzki
2012-01-04, 09:53 PM
Yea thats right. Thanks for the tip. I'm just starting learning html. What is the best way to resize an image in your opinion?

Circle of Life
2012-01-04, 10:57 PM
Yea thats right. Thanks for the tip. I'm just starting learning html. What is the best way to resize an image in your opinion?

Photoshop/GIMP/OtherProgramOfChoice.

Failing that, Imageshack and Photobucket have resizing options when you upload images to them. I imagine other image hosting sites do as well, but I couldn't speak from experience for those.

Rawhide
2012-01-05, 01:38 AM
On top of the fact that the client downloads the full image, then resizes it, which is a waste of bandwidth: Resizing down often results in jaggy lines, resising up results in blurry/pixelated images, resizing and changing the aspect ratio is even worse. Also, you have no control over how it looks and will be different on different clients. Do it in a proper image resizing tool and make sure it looks good before uploading.


Yea thats right. Thanks for the tip. I'm just starting learning html. What is the best way to resize an image in your opinion?

XnView. (http://xnview.com/en/xnview.html)

Yora
2012-01-05, 08:44 AM
My programm of choice for resizing, cropping, and format changes is Irfan View. Free, small, simple, provides very good results and can open pretty much every image file format.

Shhalahr Windrider
2012-01-05, 10:28 AM
If you are on a Mac, Preview can get you pretty good results and is more lightweight than a devoted image editing program.

You may also want to consider tweaking sharpness after resizing an image.

Eguzki
2012-01-05, 12:58 PM
Great suggestions guys thanks alot.

Rawhide
2012-01-06, 12:58 AM
My programm of choice for resizing, cropping, and format changes is Irfan View. Free, small, simple, provides very good results and can open pretty much every image file format.

I used to use IrfanView, but it had problems and so I went looking for a replacement. XnView does everything IrfanView did, had none of the problems with different formats, and had a much cleaner interface. It's also free and I recommend it over IrfanView.