WordPress.org

Ready to get started?Download WordPress

Forums

Betta Boxes CMS
WYSIWYG Editor Images being converted to (incorrect) relative path. (6 posts)

  1. DaneMorgan
    Member
    Posted 2 years ago #

    Even when I try editing in "HTML" mode and put the full http: path to the image it is changing it to a ../wp-content/.. relative path. This might work wioth pages or posts, I haven't tried but what it generates when in a custom post type is http://thesite.com/THEPOSTTYPE/wp-content....

    Obviously, this will generate a 404 error.

    http://wordpress.org/extend/plugins/betta-boxes-cms/

  2. shauno
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Dane
    I will have a look at it when I get a chance.
    Thanks for the feedback.

    http://shauno.co.za/donate/

  3. shauno
    Member
    Plugin Author

    Posted 2 years ago #

    Hi again Dane

    I couldn't reproduce the problem you seemed to have on any of my test installs. But I have updated the plugin to use the default WP editor anyway, so hopefully that solves your problem.

    Let me know if you are still having issues.

    [ Signature moderated. ]

  4. DaneMorgan
    Member
    Posted 2 years ago #

    I'll have to write some new code... What I ultimately did was move the image out of the HTML box and insert it as another custom field.

  5. shauno
    Member
    Plugin Author

    Posted 2 years ago #

    Why can't you use the media uploader for the wp_editor()?

    I actually toyed with an 'image' or 'document' custom field, but the 'add/edit post' form actually doesn't have the correct enctype. I was going to just alter it with JS, but I don't want to conflict with anything another plugin might do.

  6. DaneMorgan
    Member
    Posted 2 years ago #

    Well, I probably can. I've delivered the blog I was having problems with, but I'm working on a new one I'll test this with soon.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic