Images are a major part of any modern website, and with the explosion in video comes greater bandwidth use, which is not only costly for your IT budget, but for your user experience as well. It has been proven time and again that the longer your site takes to load, the smaller the number of visitors who will return. Every second that passes reduces your website's overall conversion and ultimately revenues, so it makes perfect sense to want to optimize your image and video delivery as much as possible.
Join Cloudinary’s Solutions Engineer, Josh Slivken, as he examines the common mistakes that are being made in image and video implementation, and what you can do to avoid them in this workshop webinar.
6. Images
Wasteful browser-side resizing Unnecessarily high quality JPEGs
Incorrect image file types
Delivering non-optimized images
Forgetting to strip image meta-data
Delivering images straight from your servers
Delivering static icons one by one
Using images when CSS3 can be used
Incorrect image cache settings
Using a single image size across all delivery mediums
Videos
Using the wrong video resolution
Using the wrong video codec
Using too high a video bitrate
Not using adaptive bitrate streaming
Not using modern video codecs
Not presenting multiple codec options
Using the wrong bitrate for the content
Not muting autoplaying videos
Using a heavy video player
Using a GIF instead of a video
7. Common Theme: Performance
Smaller File Sizes Faster Download Quicker Visibility
Better User
Experience
Lowered Fidelity
Dumpy-Looking
Media
Worse User
Experience
Retain Fidelity Improved Media
Better User
Experience
10. #1: Use Correct Image Dimensions
• Use srcset and sizes where practical
• Integrate with responsive breakpoints API for even more efficient results
13. #2: Use Correct Video Dimensions
• For background videos,
thumbnail previews, etc:
appropriately scale
• For videos in a player:
create multiple sizes to support
the desired use cases
14. #3: Use efficient Image Formats
#4: Use efficient Video Formats/Codecs
23. #3 and #4: Inefficient Image/Video Formats/Codecs
• First, no matter the uploaded format (JPG, TIFF, RAW, PSD, EPS, MP4, MOV, GIF, ETC),
create a derivation in a friendly viewing format for the web
• Second, utilize media queries to support advanced formats/codecs
• Third, ignore the first and second point and use auto-format on images and video
34. #7: Embrace Wide-Gamut Media
Capture: All across the board
Processing: sRGB
Browsers: sRGB
Screens/Devices: sRGB
Status Quo the last 20 years
Capture: p3
Processing: sRGB / P3
Browsers: sRGB / P3
Screens/Devices: P3
Starting with the iPhone7
37. #7: Embrace Wide-Gamut Media
• Encourage/prepare for the use of media with expanded color support
• For media with an expanded color set…
• Make a decision in the browser with media queries
• Process server-side so you’re not relying on the browser
40. #8: Avoid Generation Loss
• Keep high-resolution/high-quality originals
• Derive directly from those originals to the final, delivered asset
• Work with creative teams to upload RAW, PSD, TIFF, etc files as close to content
creation as possible