Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Grav images folder serves same file size and resolutions

Started by xavier wastyn 2 years ago · 1 replies · 196 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 complanar, 5 days ago
6 135 10 hours ago
Support · by Rick Beebe, 6 days ago
2 99 2 days ago
Support · by blu3prince, 2 days ago
0 50 2 days ago
Support · by alex, 4 days ago
2 91 3 days ago
Support · by Marcel, 2 weeks ago
1 142 3 days ago