[Mediawiki-l] Image not appearing

wolferey at wolferey.net wolferey at wolferey.net
Tue Jan 29 09:06:34 UTC 2008


I have reinstalled it and got help from the webhost on the URL rewrite, I think you are right about that the URL rewrite was what caused the problem. It's working on the new install now, so I guess I got it right this time :)

Thanks for the help :)


-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org [mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Brion Vibber
Sent: 29. januar 2008 00:31
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Image not appearing

wolferey at wolferey.net wrote:
> I am having a problem with images not appearing after we’ve uploaded 
> them. The mime type seems to be correct, and if you follow the direct 
> link it will show the image, so the upload works, but the image 
> doesn’t appear both on pages and on the image page.
> 
> 
> 
> Link: http://www.timespin.net/spillmodding/wiki/Bilde:Testing.jpg
> 
> Testing.jpg‎ (filstørrelse: 316 KB, MIME-type: image/jpeg) – File size 
> and type is correct, and if I follow the testing.jpg link, I can see 
> the image, but that is the only place I can see it.

Ok, a couple issues off the top of my head:

* The listed MIME type appears to be padded with what may be NULL characters. This might indicate a problem with your database.... Perhaps it was set up with the binary configuration but with a fixed-size field instead of the variable-size one?

Check the image table's layout (SHOW CREATE TABLE image).

This could cause the standard handling of JPEG files to be skipped as the type string wouldn't match. Thus you get a generic file icon and no image dimensions listed.


* The actual file link is broken:

http://www.timespin.net/spillmodding/wiki/images/2/23/Testing.jpg

It seems you've got your upload path mixed in with your URL rewrite rules, and the browser can't get at your files.

-- brion vibber (brion @ wikimedia.org)

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list