Jump to content

Custom markup on images


Peter Knight
 Share

Recommended Posts

If an image is added to a site via the rich text field, do we have a way to apply a custom wrapper or mini template to it?

IE I want to apply some markup srcset to some user added images. I can only seem to achieve this when the image markup is in the template itself.

https://github.com/rolandtoth/MarkupSrcSet/wiki

I can probably achieve this with RepeaterMatrix and by creating a specific Images field (and images template) but outside of that ?

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...