A query like this:
{{#ask: [[Category:Images]] | ?Caption | ?Modification date | mainlabel=[[:Category:Images]] | limit=2}}
Normally produces a table of the image thumbnails. The only way I know of to control the thumbnail size is by editing LocalSettings.php with something like this:
$wgDefaultUserOptions['thumbsize'] = 0;
$wgThumbLimits = array(
60, 90, 120, 150, 180, 200, 250, 300
);
Where 0 on $wgDefaultUserOptions would produce a 60px default thumbnail size for the entire wiki (not only the queries). Here's the relevant documentation of those parameters:
http://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions
http://www.mediawiki.org/wiki/Manual:$wgThumbLimits
Note also that these are user options that only affect new users and existing users that have not changed from the default. So, before this takes effect for the entire system, maintenance must be done with userOptions.php in the Mediawiki maintenance directory, as described here:
http://www.mediawiki.org/wiki/Manual:UserOptions.php
Obviously, that solution isn't going to work in practice, since people may have good reasons to choose a different thumbnail size from the default (small screen requiring smaller images, or poor vision, requiring larger ones).
In addition, the results obtained from image queries are sometimes thumbnails (on most pages), and sometimes just links to the file page (on Special:Ask "further results" pages, the semantic search page, and maybe others I don't know about).
Semantic Mediawiki needs to provide query options to control whether a thumbnail or a file page link is displayed. For thumbnails, an option needs to be available to control the thumbnail size.
Right now, this can only be done by creating and then specifying a custom template to use for the query.
That is OK for site developers in circumstances where the query is to be used frequently, but it's too much for an ordinary user to be required to do in casual queries, especially when using convenience features like Special:Ask and Semantic Search.
Version: unspecified
Severity: enhancement