Dreamweaver 8

I am trying to insert an image in my index page while I am in layout mode. The image place holder is a fixed 568 (width) x 253 (Height). I resized the image in photoshop (568x253) and inserted it into its spot in the index page. The problem is that the image is always too small or too big for the image place holder eventhough I resized it to the same dimension from my image place holder. What am I doing wrong? Aren't the image size in DW in pixels? or is it expressed in something else?

Any hints would be greatly appreciated.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I should imagine pixels but to be honest I wouldnt trust Dreamweaver in layout mode. Go into code mode and show us the code.
Jason C. LevineNo oneCommented:
Hi Nyko333,

How big/small is the difference between the placeholder and the actual image?  If we are talking only a pixel or two difference, it could be due to a border.

Everything in DW defaults to pixels (for images), so despite Eternal_Student's misgivings, the image should be fine.  The only thing I can think of is that when you manipulate the image in photoshop, you are inadvertently changing the size of the end product.

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Check that when you resize in Photoshop, the image has a DPI value of 72, otherwise it will always show too big in the next program.

Other than that I'll back Jason's idea, but do check that your placeholder object doesn't have any padding space assigned to it.
I too have had this problem a lot too

What you need to do is use the Preview function and look at it in both Firefox and IE
sometimes the issue is that in one of the two browsers it will look just right and in the other one it will be slightly skewed... or in this case, might show up as an incomplete or broken image

The Main thing is to check your tables (Placeholders) and make sure there is 0 px padding, spacing, and everything else including borders.

Hope it helps
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.