[Mediawiki-l] thumbnail images not working after migratio
David J. Biesack
David.Biesack at sas.com
Wed Jun 22 00:51:45 UTC 2005
I recently migrated a MediaWiki installation (1.4.0) from one server to another (1.4.5).
The database migrated fine; images appear to have migrated fine as well,
but thumbnails are not working.
If I have markup such as:
[[Image:analysis_studio_metadata.png|thumb]]
[[Image:analysis_studio_metadata.png|thumb|180px]]
[[Image:analysis_studio_metadata.png|thumb|120px]]
this renders as HTML:
</p><p><a href="/saspedia/Image:Analysis_studio_metadata.png" class="image" title="thumb"><img src="/saspediawiki/images/0/05/Analysis_studio_metadata.png" alt="thumb" longdesc="/saspedia/Image:Analysis_studio_metadata.png" /></a>
</p><p><a href="/saspedia/Image:Analysis_studio_metadata.png" class="image" title="180px"><img src="/saspediawiki/images/0/05/Analysis_studio_metadata.png" alt="180px" longdesc="/saspedia/Image:Analysis_studio_metadata.png" /></a>
</p><p><a href="/saspedia/Image:Analysis_studio_metadata.png" class="image" title="120px"><img src="/saspediawiki/images/0/05/Analysis_studio_metadata.png" alt="120px" longdesc="/saspedia/Image:Analysis_studio_metadata.png" /></a>
and the page shows full size images and not thumbnails. Clicking on them takes me to the normal image page for the image.
The "thumb" and "180px" and "120px" options are being interpreted as text titles.
On both servers, I have the same set of files & thumbs for this image:
# find . -name "*Analysis_studio_metadata.png"
./thumb/b/b9/800px-Analysis_studio_metadata.png
./thumb/7/7d/180px-Analysis_studio_metadata.png
./thumb/7/7c/120px-Analysis_studio_metadata.png
./0/05/Analysis_studio_metadata.png
I'm not sure how MediaWiki processes thumbnail images... could it be a permission problem, for example? What maps an image name to the "default" thumbnail if no size is given? If it cannot find a thumbnail, will MediaWiki not render a thumbnail?
I have not changed DefaultSettings.php:
$wgUseImageResize = false;
$wgUseSharedUploads = false;
--
David J. Biesack SAS Institute Inc.
(919) 531-7771 SAS Campus Drive
http://www.sas.com Cary, NC 27513
More information about the MediaWiki-l
mailing list