Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Grav images folder serves same file size and resolutions

Started by xavier wastyn 2 years ago · 1 replies · 135 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 Anna, 18 hours ago
1 54 11 hours ago
Support · by gtx, 1 week ago
4 228 2 days ago
Support · by Paul Hodges, 2 weeks ago
13 277 5 days ago
Support · by Anna, 3 weeks ago
9 335 1 week ago
Support · by TomW, 2 weeks ago
4 188 2 weeks ago