• 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

Morgain

Well-known member
#1
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.
 

Morgain

Well-known member
#3
Your image path is wrong.

http://www.housemorgain.co.uk/forumxf/styles/default/xenforo/widgets/candles8.png

Double check that you have uploaded it to the correct directory and the extension is correct.
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.
 

Fuhrmann

Well-known member
#4
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.
Morgain, try to upload the file to the path again and see if it works.
 

Morgain

Well-known member
#6
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.​