homepage Welcome to WebmasterWorld Guest from 54.237.98.229
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Displaying High Resolution Images
ocon

5+ Year Member



 
Msg#: 4464433 posted 3:38 pm on Jun 12, 2012 (gmt 0)

Is the only way to serve high-resolution images to high-resolution devices, like Apple's Retina displays, is by serving an image twice the size as its container and then shrinking it down by using image attributes or css?

photo.jpg is 200px by 800px

<img src="photo.jpg" height="100" width="400" alt="High Resolution Image" />
<img src="photo.jpg" style="height:100px;width:400px" alt="High Resolution Image" />

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved