May 6, 201313 yr I'm about to create a background image in photoshop to use as a background design for a website but not sure what size/ratio to make my image. Ideally you don't want the image to get squished or stretched depending on different monitors and browsers. Then there's retina and new high-res screens. What would be best to ensure I have long term compatibility with as many different users as possible? Personally I am currently on a 1440x900 screen. Also what resolution should I choose? Thanks Edited May 6, 201313 yr by Made In Machines
May 20, 201313 yr use 2000x2000px image I think it will work fine for most displays... most sites I saw use this size image... add no-repeat and fixed. ex: background: (image location) no-repeat center center fixed;
May 20, 201313 yr It depends really. For instance, if your background i pattern based, for example a Blue background with diagonal lighter blue stripes. You make it as small as possible and then let it repeat throughout the whole page, this prevents the background to load in slowly, which can potentially ruin the users' experience. If you have a big image, try to be cautious as to how much it's really needed, and what you might be able to do to make the loading time as small as possible. The different resolutions always made me scared to go the "big-image" road, i much more prefer the safe road and either use simple colors, or repeating backgrounds to improve the looks of the the site.
May 20, 201313 yr This article can help you out a lot http://www.webdesignerdepot.com/2008/11/dos-and-donts-of-large-website-backgrounds/ Good luck
May 30, 201313 yr Be careful not to jeapordise load speed here. 2000 pixels wide is a pretty safe bet for width but we tend to try to design the website so that the background image will only need to be 300 to 600 pixels deep because a 2000x2000 pixel image will slow the load time. If the background image is applied to the body tag and set to position in the top center using CSS you should have no issues with the image 'squishing' but keep in mind that not all of the image will be showing if the user is on a small window (iPhone). Be clever when you create the bacjground image in Photoshop - the colour you use on the sides and bottom can then be extended by using a background-color property on the body tag
June 11, 201313 yr You can adjust the size of the background in css body:{background:url(../images/bg.jpg); background-size:cover; background-position:50% 50%; background-repeat:no-repeat; }
June 18, 201313 yr I'm designing mine around iphone 5 and ipad primarily at: Height: 2000pxWidth: 1530pxat 300ppi intended for portrait on both devices. Ratio of 1.6 I think or 1.57.
Create an account or sign in to comment