Closed renestalder closed 2 years ago
I'd think some fields from the image block make sense, e.g. ratio, caption, crop. Then one could also use the ratio field value for the preview. Fields like alt text don't really make sense as one would apply the same alt text to all the gallery images.
✅
Description
This is about the gallery block.
Maybe this is considered a feature request. For me, it's rather a bug.
Currently, the images in the gallery block are rendered with the ratio 1:1 in the editing drawer. This can be overwritten by overwriting the block blueprint.
The image ratio settings and other settings are currently only applied to the editing drawer, not to the vue preview component.
Expected behavior
Either that the same image settings apply to the preview rendering of the gallery too, or that there are other options to configure the preview of the gallery block itself.
Screenshots
What the preview looks like
What the editing drawer looks like and what I would expect the preview to look like too (in terms of ratio and cover settings).
To reproduce
No specifics.
Your setup
Kirby Version
Console output
Your system (please complete the following information)
Additional context
In general, it would be a nice addition to being able using the gallery images in the same way as the individual image block: Having all fields like alt text, ratio etc. available in the panel. But that would be certainly more of a feature then.