PDA

View Full Version : Photo size to speed things up


CosmoGirl123
12-13-2007, 10:33 PM
I want to speed up my website, it's my first one.

Question: About Photo size; does it matter if I size down the photo in DW to 80%? or is it better to just import the correct exact size?

Question: is jpeg or gif better for speed?

Thanks

CosmoGirl123

domedia
12-14-2007, 12:06 AM
Question: About Photo size; does it matter if I size down the photo in DW to 80%? or is it better to just import the correct exact size?Do not resize your img in HTML, it should be the exact same size as the image is. Do image resizing in a graphic editor and create a new web graphic

Question: is jpeg or gif better for speed?They both have their advantages. As a rule of thumb, use JPG for photos, and GIF for images with areas of solid color. Also consider PNG which can produce great results.

It's pretty easy to test this. In PS save first as GIF and then as JPG and compare the results. Pretty soon it will be second nature and you'll know ahead of time which file format is the better. Also remember to test the various optimization settings for JPG (%) and GIF (number of colors in palette)

CosmoGirl123
12-14-2007, 02:02 AM
"Do not resize your img in HTML"
That means do not resize in Dreamweaver but what about in Flash..then Flash file imports into DW. Is that ok?

CosmoGirl123
12-14-2007, 02:03 AM
Thanks for the great information... I really appreciate it. :-)

domedia
12-14-2007, 01:52 PM
"Do not resize your img in HTML"
That means do not resize in Dreamweaver but what about in Flash..then Flash file imports into DW. Is that ok? I was talking about web graphics, not flash files :)
If you want to add a line to your post you can click 'edit' as well without having to make a new post.

Jittor
12-14-2007, 04:16 PM
You can resize in Flash but I would recommend bringing it into flash close to the size that you want it. This way your .FLA file isn't huge. The resulting .SWF should not be effected by the original file only the adjusted size. Unlike changing the size in the HTML flash will adjust the actual file, where HTML just changes the display size.

Death Dream
12-26-2007, 07:03 PM
I wouldn't go saying resizing in dreamweaver is bad. I think it is good. If you have a small image for like a table or a background you make it only 1 pixel thick and then use dreamweaver to stretch it out, then that is a good way of using it.

But if you are taking your average picture and want to make it faster to load then you should not use dreamweaver. Dreamweaver is not changing the filesize when you change the image size inside it. You have to use an external program like photoshop and adjust it there, resave it, and import it into dreamweaver from there.

~Death Dream~

davidj
12-27-2007, 01:09 PM
the guys were talking about visual images not spacers.

but if your using CSS to style then i cant see the reason for spacers

domedia
12-27-2007, 02:07 PM
The browser/HTML is not a very good resizer of images. Don't use HTML for this. It makes the image look distorted and will decrease the quality greatly.

Instead use your graphics editor, resize the image to your required size and use on your webpage.