Automatically add a class to inserted images
-
Hey all,
I’m looking for a way to wrap a class or element around all images uploaded and inserted into posts. Basically, I’d like to be able to upload an image using the ‘upload media’ system but I’d like it to come out automatically wrapped in another class. Something like:
<div class="mynewclass"><img src="blah.jpg" /></div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Automatically add a class to inserted images’ is closed to new replies.