Create topic New topics

Forum

Help me, please!

add "width" command to image?

tandemonimom
Posts: 144
Message
on 06/06/2011

I've been trying to size an image down with the width="200" command inside the img src command, but it is stripping it out. Help?


Carma aka tandemonimom
tandemonimom
Posts: 144
Message
on 06/06/2011

Okay, I figured it out! If anyone wants to know, use this command inside the img HTML: style="width:200px" (or whatever width you want).


Carma aka tandemonimom
nightowl
Admin
Posts: 490
Message
on 06/06/2011

Although this does work, and may be unavoidable in some cases, it is generally considered to be bad practice to resize your images this way.

Some reasons are that the browser will have to download the original image first, and then resize it in the browser, which may slow down the load time of your page. In addition, large images often get pixelated and don't look good when resized this way.

A better solution would be to resize the image with an image editor to its intended size, and then re-upload the image.


SEO Praxis: Specializing in WordPress Hosting and Small Business Web Design.
tandemonimom
Posts: 144
Message
on 06/07/2011

Thank you! I did not realize that.


Carma aka tandemonimom
Hans
Admin
Posts: 106
Message
on 06/08/2011

Thanks Anne for this hint :-) A good choice is to use the image module, where images get automatically resized.


My Tip: Public domain images on Pixabay.com :-)
vikksimmons
Posts: 71
Message
on 06/08/2011

Don't know if it's helpful but I use the Pikinik uploader that is free and on the browser to adjust my images. 

 

This is the link: http://www.picnik.com/go/upload

There is a free download version but I keep it simple


Loading ...
Error!