clef / frontend-styleguide

Styleguide for front-end code @ Clef.
MIT License
58 stars 3 forks source link

More clarification on how images are handled seemingly needed for both developers & creatives #7

Open lozandier opened 8 years ago

lozandier commented 8 years ago

About this Issue

In the readme.md, it seems somewhat vague these aspects of images & Web I'd imagine developers, stakeholders, &

Suggestions to close this issue if you find it valid

I think some of these questions/concerns can be addressed by a more expansive section on images?

dmleong commented 8 years ago

SVGO is a good resource for optimizing SVGs, particularly if they are generated via Illustrator files.

Is there a particular reason for using JPGs for images? SVGs and vector images do scale better, particularly on mobile. I also second the guidelines needed for performance. How large of an image are you aiming for? If you have many images per page (or a large background image), will you be doing some sort of lazy loading to boost performance? Background colors to load first prior to the image loading in the event of slow bandwidth?

What are your opinions for background animated gifs? (please no)