: Thumbnail only showing link on mediawiki When trying to add a thumbnail to my wiki page it only shows a link to the picture. I'm presuming it has something to do with a missing module. Does
When trying to add a thumbnail to my wiki page it only shows a link to the picture. I'm presuming it has something to do with a missing module. Does anyone know what module controls this or if it is something entirely different?
More posts by @Berryessa370
1 Comments
Sorted by latest first Latest Oldest Best
So it turned out to need a rewrite line in the index.php
I found it here
meta.wikimedia.org/wiki/Thumbnails
for anyone else who needs help with this sort of problem.
EDIT
adding these lines to index.php
RewriteCond %{REQUEST_URI} ^/files/thumb/./../.+?([0-9]+)px-(.+)$
RewriteRule ([0-9]+)px-(.+)$ /wiki/thumb.php?w=&f= [L]
you'll need to change the regex pattern depending on your path names and when uploading a thumbnail you will need to check the image pixel resolution and define that when creating your thumbanil
hope this helps :D
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.