I tried to find a solution in the FAQ and the documentataion but did not get it.
I want my customer to choose from 3 different styled image-posts.
a) image fullscreen,
b) image centred, background white or
c) image centred, background black
I almost got it, but then when I changed the image in the post, the old one remained. So I assume that I got something in my code not right.
How to I get to my goal in the easiest and clearest way. Any suggestions or examples?
I’m not sure if I’ve understood your requirements, but it might be that you could add a radio button option to select the image styling.
You might, then, just need a single image field and set the output styling based on that selection. Or if the image fields have different requirements, eg, min size, then you could show / hide the image fields based on the radio button selection.