Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Grav images folder serves same file size and resolutions

Started by xavier wastyn 2 years ago · 1 replies · 246 views
2 years ago

I'm using a theme based on Grav 'quark' theme. This theme uses a background css image for it's hero image. I would love to serve different images relying on the responsive viewports. Anyone who could give me a lead?

Also when serving images to GRAV with @x4 extension ... it gives me always the same file-size and image resolution.

Kind regards,
Xavier

2 years ago

If I look in the inspector. The background image that is served comes from an asset that is created by Grav as well. It is in the 'images' folder but there is no different in file size or resolution.

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 1 week ago
4 160 6 days ago
Support · by nwhitfield, 1 week ago
2 137 1 week ago
Support · by stell, 3 weeks ago
5 370 2 weeks ago
Support · by gravinator, 1 month ago
5 562 2 weeks ago
Support · by Gravver, 3 weeks ago
6 348 3 weeks ago