Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Image absolute path not working in WP

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #164677
    rouviere
    Participant

    I am building my first customized WP site and I am having trouble with the images not showing up correctly. They all show as missing.

    I am using the following code for image paths:

    /images/bay_breeze_article_photo.jpg"
    

    My concern is that the root url for the site is actually a sub-directory of the parent site and has the /~baybr/ tacked on the end. If I am doing the paths correctly, why aren’t the images showing up? I have confirmed that the images are on the server. For example the full path to the image in question is: http://opteracreative.com/~baybr/images/bay_breeze_article_photo.jpg

    Thanks for the help.

    #164679
    rouviere
    Participant

    Hi Shaneisme,

    That works if the images are part of the theme, but these image are outside of the them and part of the content. Correct?

    #164681
    rouviere
    Participant

    I get this:

    /home/opteracr/public_html

    which confirms my concern.

    #164683
    rouviere
    Participant

    When I add this, it works: /~baybr/images

    When I move it to the live site, it will be easier.

    Thanks for the help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Back End’ is closed to new topics and replies.