Before we get started writing the HTML, let’s export all the banner graphics from Photoshop using the “Save for web” utility.
**All the graphics are saved in their retina (2×) size. So we’ll need to resample them on save.
Large sizes: Open banner-l.psd
- Use “Save for web” to save it as a JPG—around 55% quality looks okay.
- Name it
banner-l@2x.jpg
in your images
folder.
- Now, “Save for web” again, and resize it down to
1200
pixels wide (in the bottom right corner of the dialog).
- Save it as
banner-l.jpg
, around 55% is okay.
Medium sizes: Open banner-m.psd
- Same thing: save as JPG at its original size:
banner-m@2x.jpg
- Resize to half size,
600px
, and save another JPG: banner-m.jpg
Small sizes: Open banner-s.psd
- Same thing: save as JPG at its original size:
banner-s@2x.jpg
- Resize to half size,
320px
, and save another JPG: banner-s.jpg