Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Image display

 
Ria Singh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any problem with this code ? The image is only partially displayed while the rest is distorted.

 
Ria Singh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found the problem...

If the image size is greater than screen size, resizing results in the distortion and the complete picture is not displayed.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!