WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] images url are relative (4 posts)

  1. leisegang
    Member
    Posted 1 year ago #

    <a href="http://mariusroyseth.no/files/20120905-204517.jpg"><div class="img_attch"><img src="/files/20120905-204517.jpg" alt="20120905-204517.jpg" title="20120905-204517.jpg" class="aligncenter size-full wp-image-1257" /></div></a>`

    look at the IMG tag...:<img src="/files/20120905-204517.jpg

    why doesnt it include the domain. shouldnt the src be: http://mariusroyseth.no/files/20120905-204517.jpg

    i am using domainmapping by donncha. but i dont think thats the error. i have thir problem on like 5 of 600 blogs... only 1 of them are on their own domain.

  2. Actually this caught my eye: <div class="img_attch">

    That's not normal for WP's media uploader. Are you using a plugin?

  3. leisegang
    Member
    Posted 1 year ago #

    the site has NO plugins enabled that isnt network activated. and its only 5 blogs that have this problem.

    because of all my network activated the problem should be on all blogs.

  4. leisegang
    Member
    Posted 1 year ago #

    finally found the common error. The frances wright theme edits the code in admin when inserting the image to get it to scale with mobile devices. Silly. why not use max-widht:100%;

    thanks for help!

Topic Closed

This topic has been closed to new replies.

About this Topic