• Hello
    To the designers and engineers behind the theme , Excellent theme. Much appreciated.Top job.

    The problem I am encountering is images (URL links) I have in the sidebar.

    The images show up fine on pages, but not on Posts . On my blog posts (podcasts) it is only the generic missing pic thumbnails that shows up . This is true for images in the footer as well for posts.

    Any suggestions or help would be excellent .

    https://www.everythingsanillusion.com
    Listen on images – Display fine in the side bar

    https://www.everythingsanillusion.com/podcast/14-hemp/
    Listen on Images – Dont display

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter robbwallace

    (@robbwallace)

    So this is added in the widget (once to cover the sidebar through out the whole site) and the image link on the page is correct and displays, however on the posts, it adds the category to the link and the image doesn’t work.

    https://www.everythingsanillusion.com/wp-content/uploads/2015/12/Itunes.jpg

    https://www.everythingsanillusion.com/podcast/wp-content/uploads/2015/12/Itunes.jpg

    Any ideas how I fix this ??

    Thread Starter robbwallace

    (@robbwallace)

    absolute and relative links .

    So the theme or worpdress changes the long domain (absolute?) to a short one (relative?) . And for most of the site , ie the top level pages this works fine, however when it does this for the podcast categorised posts it doesn’t make the correct relative link??

    Hi robbwallace. Welcome to the Hueman forum.

    The image embedded in your 14-hemp podcast is using an absolute path:

    <img class="alignnone wp-image-272 size-full" src="https://www.everythingsanillusion.com/wp-content/uploads/2016/01/Hemp_Infographic_web.jpg" alt="Hemp_Infographic_web" width="525" height="675">

    The images in the sidebar and footer are using relative paths:

    <img class="alignnone size-full wp-image-261" src="../wp-content/uploads/2015/12/Itunes.jpg" alt="Listen to Everything's An Illuion podcast on Itunes" width="500" height="87">

    The relative path “..” says “go up one level from here” to locate the path. On the main pages, “up one level” is “www.everythingsanillusion.com”. Since “/wp-content” is a subdirectory of the root site directory, the full path is valid and it finds the image. On the podcast post pages, “up one level” is “www.everythingsanillusion.com/podcast”. Since there is no “/wp-content” subdirectory on that path, the image is not found.

    Not sure how you added your images to the sidebar and footer widgets but changing the src to use absolute path statements should fix it. If you’re interested, there are many threads and articles that discuss absolute vs relative paths.

    Thread Starter robbwallace

    (@robbwallace)

    Thanks , I used a text editor widget to place html in the sidebar.

    The text widget was changing the path, just re wrote the html and all looks good. Thanks for your expertise and time , much appreciated:)

    You’re welcome; glad to help. If you don’t need any further assistance here please mark the topic as Resolved. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sidebar/Footer Images on posts’ is closed to new replies.