Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Grav images folder serves same file size and resolutions

Started by xavier wastyn 2 years ago · 1 replies · 333 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 TomW, 2 weeks ago
8 227 8 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago