WordPress.org

Ready to get started?Download WordPress

Forums

Changing the supplied image code? (after uploading an image) (4 posts)

  1. webkris
    Member
    Posted 9 years ago #

    After you upload an image in WP it supplies you with a tag like this:

    Here’s the code to display it:
    img src=';/images/font_smoothing.jpg'

    I would like to make the code say:
    img src='http://www.planetkris.com/images/font_smoothing.jpg'

    With the full domain name supplied.
    Where / how could I change that?

    For the time being I'll manumatically add it. :)
    - Kris

  2. Kafkaesqui

    Posted 9 years ago #

    1. Download this (and use it to replace the one in your wp-admin/ directory) to fix the ';' in the src:

    http://trac.wordpress.org/file/trunk/wp-admin/upload.php?rev=2352&format=raw

    2. Under Options > Miscellaneous, change "URI of this directory" to:

    http://www.planetkris.com/images

  3. It's a well-known bug reported here many times in many topics. The patch is here: http://mosquito.wordpress.org/view.php?id=888

  4. webkris
    Member
    Posted 9 years ago #

    Thanks for the quick help!
    I was a good newbie and did a search - but didn't catch it.
    - Kris

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.