Custom image attributes in visual editor (1 post)

  1. zeeight
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.