Disappearing images

Permalink
Hi there, I know this has been mentioned before, I have however read those posts and the suggested fixes but still don't seem to be getting anywhere

Basically I am suffering from (seemingly random) disappearing images on a site.

As an example:
http://www.centreforworkandlearning.org.uk/contact-us/...

As you can (not..) see, the images of each member of staff are not there - just the image name.
Even weirder, if you look in the source code the images are being called out correctly - for example:

src="index.php/download_file/view_inline/12/"

if you pastehttp://www.centreforworkandlearning.org.uk/index.php/download_file/... you will see the correct image.

In the file manager you CAN see the thumbnails of these images (I know other posts where people were having problems they COULDNT see thumbnails in the file manager)


I have looked at the file permissions - all 755, I have rescanned all the images in the file manager - nothing seems to be working.

Strangely if you log in and put the page in edit mode, the pictures all display fine - but as soon as you are out of edit mode they all disappear again.

Perhaps even stranger (and I cannot verify this bit myself) the users of the site claim that the images WERE showing when the page originally published and have since disappeared.

I am still on 5.4.1 - I haven't applied today's update yet - but if anyone has any ideas on how to fix this in 5.4.1 I would appreciate it :)

Cheers Stu

EDIT: taking the images out of the page and putting them back in seems to be fixing it for the moment - but then of course they started off showing in the first place - so am unconvinced they will stay visible - would be good to know what is happening so this can be avoided in the future

 
jbx replied on at Permalink Reply
jbx
All images appear to be there for me...

Do you have an example of a page where you haven't yet replaced the images for me to test?

Jon
monkeyboystu replied on at Permalink Reply
once I realised putting them back in fixed for now I had to do them all as it is a live site and the client wanted them back asap :(

er maybe they will have gone again by the morning :) :) ?

but basically (pre me twiddling)

it would just say on the page
'pete_baron.jpg' ie the filename NOT the alt text

but in the page source the image would be called out as follows:

<img src="index.php/download_file/view_inline/12/">
jbx replied on at Permalink Reply
jbx
I think it may have had something to do with your link to the image. If you check them now, you will notice that they are all in the format "/files/xxxx/xxxx/xxxx/imagename.JPG" which is correct. The other link you posted is a link to download a file. Not sure it will work correctly for embedding an image in the page.

My best guess as to how that happened is that when the images were added, they were added as a link to a file, as opposed to an image.

Jon
hursey013 replied on at Permalink Reply
hursey013
I had this same thing happen to me earlier on a site I'm currently building. I really don't have a clue what caused it, because I'm hosting dozens of other sites using the same core and I haven't seen the problem on any of them. I'm using 5.4.1.1 and the problem was resolved by simply clearing the site's cache.

Btw, the images were added using the content block wysiwyg - pretty standard way of adding images.
monkeyboystu replied on at Permalink Reply
yes I thought the download/xxx/ looked a bit dodgy - but thanks for the replies all and seems to be fixed for now :)
JoHodges replied on at Permalink Reply
Hi

I am having real problems with my sitewww.www.lightspeedaberdeen.org....

All initially seemed fine but the last few times I've tried to edit, the header has disappeared , then it randomly comes back. The live site sometimes appears without the headers on the pages and then if you refresh they appear . Sometimes the header reappears and there's nothing else on the page.

Any help would be appreciated as the web address needs to go out on publicity and I cant do that if the sites not working!

Many thanks

jo