• Resolved segmeant

    (@segmeant)


    page with problem: http://dev.insightspotlight.com/www/?page_id=9

    I’ve created custom static sidebars so that the site content can be edited as needed by staff with little to no experience. Now my problem arises when I try to place images in the custom included sidebar.php page. My alt text (upcoming events) is being produced instead of the image. Now I’ve tried both relative and hard linked images in the page to no avail. I’ve tried to find support for this on the forum. Perhaps someone can help me with this problem or point me in the right direction. As you can tell from the site i’m still in the process of learning as I go.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I imagine it’s due to the path to the image being given as:

    images/upcoming.gif

    where as the actual location for it in regards to where one is at while reading your blog is:

    /www/wp-content/themes/xlr8/images/upcoming.gif

    Try moving the value for the ‘longdesc’ attribute for the <img> tag, which is the full and correct url to the image, into the ‘src’ instead. (The value for ‘longdesc’ should be an url that provides a description of the image, and not the image itself.)

    Thread Starter segmeant

    (@segmeant)

    thank you for advice. things are working perfectly now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘images not posting in custome static sidebar’ is closed to new replies.