mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:


:@[[User:Jean Abou Samra|Jean]] [https://www.mediawiki.org/w/index.php?title=Project:Support_desk&oldid=8019982#How_to_display_images_in_search_results asked], but the suggested solution doesn't seem to work with SVG images, and there wasn't any further reply.  Maybe there is more information available meanwhile -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 16:45, 15 December 2025 (UTC)
:@[[User:Jean Abou Samra|Jean]] [https://www.mediawiki.org/w/index.php?title=Project:Support_desk&oldid=8019982#How_to_display_images_in_search_results asked], but the suggested solution doesn't seem to work with SVG images, and there wasn't any further reply.  Maybe there is more information available meanwhile -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 16:45, 15 December 2025 (UTC)
::[https://www.mediawiki.org/wiki/Project:Support_desk/Archive_24#How_to_display_images_in_search_results This] is the archived thread with a further reply from MarkAHershberger. Note that the problem is not with SVG per se, but with the fact that the images are directly inlined into the HTML, instead of being stored as files on the server and included with the standard image syntax, which prevents MediaWiki from detecting them as the page thumbnails. The main reason for doing this is that I'm not sure how to purge unused images (e.g., if you preview your changes 20 times before doing an edit, I don't want those 20 images to remain on the server forever).
::At some point, I tried to make it detect those inline images, but it didn't really get anywhere, sorry. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 17:22, 15 December 2025 (UTC)