I am currently designing a portfolio website that will feature desaturated thumbnails of all my work. When you hover over each thumbnail, the color will fade in and out upon mouseover.
Since this page will include numerous thumbnails, I have been contemplating the best approach to achieve this effect.
Here are some methods I have considered:
- Creating black & white and color versions of each thumbnail (cons: high bandwidth usage)
- Producing black & white and color images as sprites (pros: fewer server connection requests, cons: high bandwidth usage)
- Utilizing Javascript to dynamically generate desaturated copies of each loaded image (cons: potentially high processing power utilization)
These are the options I have brainstormed so far. Can anyone assist me in determining the most efficient method for achieving the desired outcome? Any alternative suggestions beyond those mentioned are greatly appreciated. My main priorities are:
- Minimizing bandwidth consumption
- Ensuring fast and smooth performance
Thank you!