Skip to main content
Known Participant
March 24, 2011
Question

Screen size vs Original size

  • March 24, 2011
  • 3 replies
  • 752 views

Hi,

We are expertise that the Screen size and the Original size image are not same, the image viewing in browser is 50 pixels but the original size of the image is below 50 pixels. It’s very typical that the size differences ratio is two enormous.


We need to resize the normal image size to image viewing ratio. It helps to know the calculation method (in javascript/vb script) of the browser view.


Thanks,

Maria Prabudass

This topic has been closed for replies.

3 replies

Noel Carboni
Legend
March 24, 2011

How are you generating the HTML for the web page?

Look in the HTML for the <img ...> element governing the display of your image.  Does it have height= and width= attributes?

Is any script modifying the img object to change its properties, such as pixelWidth or posWidth?

If you post a link to the page showing the problem I'm sure someone will be able to look at the HTML source and advise you further.

-Noel

P.S., is your browser set to view things at greater than 100% zoom?

JJMack
Community Expert
Community Expert
March 24, 2011

I think you need to provide more details.  Both Photoshop and Browsers may scale images. Browsers display images that HTML code incorporate. These images can be displayed by the browser and be scaled by the HTML, javascript or flash viewer basied on the size of a users browser window.  Depending on your Photoshop setup Photoshop may display images scaled. IMO your discription is too general.

JJMack
c.pfaffenbichler
Community Expert
Community Expert
March 24, 2011

Could you post the image with the »Insert Image« tool?