Click to See Complete Forum and Search --> : auto change height of picture in dreamwaever when saving new picture under same name


justanothergirl
04-18-2010, 05:55 AM
Hi everyone,:)

I'm dealing with a small problem. I made a webpage in dreamweaver, but (because it's a webshop) i often have to change pictures. What i do is save the new picture and just give it the same name as the picture that already exist on my site, so it will automatically appaer on the site, i don't have to insert it in dreamweaver. :D

Now, the problem is that dreamweaver doesn't automatically change the height of the picture, if the new picture is larger. So it's getting out of proportions. (So i have to go to dreamwaever first and change the hight and i don't want to have to do that all the time.:() Is there a way to make dreamweaver stop doing this so the picture will automatically appear in the right shape?

I also have another question. Because i'm saving my images a lot under the same name, over and over again, in a while, will this cost resolution? I'm using JPG and PNG format. Every picture is new, so i don't change the picture, i just save it under the same name.... i don't know if this will cost damage either...:(

thank you very much for reading, hope someone can help me out!:p

Greetings!

BIOSTALL
04-18-2010, 05:39 PM
I don't know if this will help but you don't need to set a height AND a width on an image. Just setting a width will mean the height automatically sets itself and will remain in proportion.

As for your second question, overwriting files does not cost quality and is essentially the same as creating a brand new file. The only time you might get issues with quality is if you are taking the same image and resizing it multiple times.

Hope that clears some things up

tirna
04-18-2010, 06:09 PM
If you are continually opening a jpg file, editing it and then resaving it, the image quality will slowly decay over time due to each save introducing a small amount of additional compression.

But if you store your original images in a non compressed format like .psd or tiff, do your editing in those and save them in their original format then you won't lose image quality after each save. You should be able to save your psd or tiff images separately as compressed jpg's for the www or whatever.

justanothergirl
04-19-2010, 02:19 AM
Hello,

Thank's! This does clear things up! Maybe i can leave the height open... i wonder if that will work... :)