Custom image attributes in visual editor
I’ve looked through the various TinyMCE / upload files in wordpress and haven’t been able to figure out how to do this myself.
I’m trying to integrate Lightbox into my blog automatically. What I need is to be able to upload an image with the visual edition and have it say
<a href="blahblah" rel="lightbox">. All I need to add is ‘rel=”lightbox”‘ to each and every image that is uploaded and linked to the full-size image.
Where does WordPress (or TinyMCE) define what to write in the editor when uploading an image? Thanks.
- The topic ‘Custom image attributes in visual editor’ is closed to new replies.