Topic on Project:Support desk

Unable to view images in wiki

7
Morganatica (talkcontribs)

Hi

I have installed MediaWiki on my website, and I can upload image files to it using FTP. The files are stored in sub-folders of the /images directory, and look to be fine, the meta-data is readable and correct.

But MediaWiki is unable to render the image, and if you try to open it you get an internal server error. The behaviour can be observed at:

http://www.lambdapi.co.uk/morganatica/Special:ListFiles

and

https://www.lambdapi.co.uk/morganatica/File:Chassis.jpg

The lack of a thumbnail doesn't worry me as I haven't yet enabled ImageMagick, but surely the original image file should be accessible?

Many thanks

AhmadF.Cheema (talkcontribs)
Morganatica (talkcontribs)

Thanks for the clue but sadly no help.

AhmadF.Cheema (talkcontribs)

Any errors in server logs?

Morganatica (talkcontribs)

Unfortunately I don't have admin access to the server, it's hosted by Fasthosts.

AhmadF.Cheema (talkcontribs)

You shouldn't need admin access for the logs. Fasthosts' website says that its hosting includes "Raw log files" and a control panel. You should be able to access error logs specific to your hosting from there.

Bawolff (talkcontribs)

You cannot use ftp to upload images like this. MediaWiki will have none of the metadata for the images and it won't work.

If you want to upload images directly and have shell (SSH) access, you can use the importImages.php script to do so. Otherwise you must upload images using Special:Upload or the MW api.

Reply to "Unable to view images in wiki"