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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Grav images folder serves same file size and resolutions

Started by xavier wastyn 2 years ago · 1 replies · 51 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 Thomas, 1 week ago
2 53 10 hours ago
Support · by Anna, 3 days ago
2 60 13 hours ago
Support · by Justin Young, 14 hours ago
1 30 14 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago