Dreamweaver 8

Posted on 2007-08-10
Medium Priority
Last Modified: 2013-11-05
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.

Question by:Nyko333
LVL 18

Expert Comment

ID: 19671068
I should imagine pixels but to be honest I wouldnt trust Dreamweaver in layout mode. Go into code mode and show us the code.
LVL 70

Accepted Solution

Jason C. Levine earned 225 total points
ID: 19671823
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.
LVL 25

Expert Comment

ID: 19678402
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.

Assisted Solution

SwankMedia earned 150 total points
ID: 19684485
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question