mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
Objective: - Get appropriately sized images to improve performance and Core Vitals score. - Ensure images using "objectFit=cover" doesn't get stretched out if the source is large enough. - Peg to 100px increments for better caching. Notes: - Skip images hosted in '/public'. If we really want to optimize it, then we'll need to provide the full path in the code, otherwise CDN lookup will fail.
2 lines
68 B
JavaScript
2 lines
68 B
JavaScript
import OptimizedImage from './view';
|
|
export default OptimizedImage;
|