1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Page Title image not showing up

Discussion in 'Styling and Customization Questions' started by Morgain, Nov 4, 2011.

  1. Morgain

    Morgain Well-Known Member

    I put an image link on forum_list and it works fine with test images, so my code is OK.
    But the image I want does not show up.
    I get the little blank square showing it can't display the image.

    The type of image I'm trying to load both on test images and the target image I want, are .png.
    Test image yes, this one no.
    I tested if it is a size issue by creating an image cut in half. Same result.
    Have recreated the image from its larger source image several times, re-uploading (has worked before doing that). No result.

    Frustrating as I got a lovely effect from a similar insertion of a page Title image on the wiki pages.

    Code I'm using (top of forum_list) which works fine with another graphic in .png
    Code:
    <xen:h1>{$xenOptions.boardTitle} <img src="@imagePath/xenforo/widgets/candles8.png" /></xen:h1>
    candles7.png
    I attach the image I want to upload. Can anyone more skilled than I see if it has something wrong with it?
    Or is this something about forum_list ?

    LATER ... tried another different pic, also snipped from a photo. Same. Will not display.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Morgain

    Morgain Well-Known Member

    Brogan thank you.
    - directory is widgets which I'm using for all images at the moment. Other files in there display fine if I substitute the alternative name for this one. So I think the code works.
    - extension is .png which all my uploaded graphics are.

    I tried putting the complete external URL as you gave it to me in my browser.
    I got an error message saying the file cannot be displayed because it contains errors. No idea what that means.

    I also tried out using two other files which I got from a website, similar image - a photo. Type .png.
    Same result, no show. Clipart displays OK but not photo segment.
     
  4. Fuhrmann

    Fuhrmann Well-Known Member

    Morgain, try to upload the file to the path again and see if it works.
     
  5. Morgain

    Morgain Well-Known Member

    I did Fuhrmann I did - several times.

    I also tried uploading it to my site root
    www.housemorgain.co.uk/candles7.png

    Same result - error message. You'll see if you click it that URL.
    Yet I uploaded the same file to this thread here and it displays OK.
     
  6. Morgain

    Morgain Well-Known Member

    Just to close this thread it appears that my file works here on XF - it works on Fuhrmann's site.​
    It doesn't work on my XF - it doesn't work on my main site.​
    But if I use the same filepath with another image file on my XF it works - as long as it is clipart! My photo art does not display.​
    So the problem is with my site host.​
    Thank you for help received.​
     

Share This Page