• This is what I would like to do. I want when I upload an image with the uploader, and I select:

    Show: Full Size
    Link to: None

    and send it to the editor, I would like it to add class=”centered” to the end of the <img src> html.

    For example, right now, when I send an image to the editor, I get:

    <img src="images/whatever.jpg/>

    and I would like to get

    <img src="images/whatever.jpg" class="centered"/>

    Is this possible?

    Thanks!!

Viewing 1 replies (of 1 total)
  • I’d really love to do something similar — I’ve taken a look at /wp-admin/inline-uploading.php since I thought I might find where to insert it there; but I’m in way over my head. 😀

    If someone could point out where I could insert a class="whatever" within the link & image information, I’d be much appreciative.

Viewing 1 replies (of 1 total)

The topic ‘adding to the uploader’ is closed to new replies.