Change upload of image to contain custom html code (2 posts)

  1. jads
    Posted 8 years ago #

    Hello all! Is it possible to change the code that the file browser sets when using an image uploaded through the browser? I use the thickbox plugin and would like it to include clas="thickbox" to all images when they are being passed from the file browser to the post area.

    For example, when I've uploaded an image, I set the requirements to 'use thumbnail' and 'link to original'; - i'd like to the image code generated to include class="thickbox"

    Is this possible to do?

  2. DreDub38
    Posted 7 years ago #

    I realize this is a pretty old thread, but I was trying to figure out a similar problem and ran across it. The solution I found was in editing the following file in WP 2.3.1


Topic Closed

This topic has been closed to new replies.

About this Topic