Anonymous

RECOUP/site/User/Bjoern/sandpit: Difference between revisions

From OER in Education
m
Line 46: Line 46:


For images this is the same, Media:...jpg links to the (full res)image, while Image:...jpg links to the Image page.  
For images this is the same, Media:...jpg links to the (full res)image, while Image:...jpg links to the Image page.  
*Link to full image directly (useful filesize): {{#filesize:Media:Ground_rules.jpg|linkfull showparams}}
*Link to full size image directly (useful filesize): {{#filesize:Media:Ground_rules.jpg|linkfull showparams}}
*Link to thumb directly: {{#filesize:Media:Ground_rules.jpg|50x100|linkfull showparams}} - doesn't make sense, see below.
*Link to thumb directly: {{#filesize:Media:Ground_rules.jpg|50x100|linkfull showparams}} - doesn't make sense, see below.
*Link to page: {{#filesize:Image:Ground_rules.jpg|50x100|linkfull showparams}}.
*Link to page: {{#filesize:Image:Ground_rules.jpg|50x100|linkfull showparams}}.
Note how 'linkfull' doesnt produce relevant information in all cases - it needs fixing in the extension:
Note how 'linkfull' doesnt produce relevant information in all cases - it needs fixing in the extension. For now, you can specify 'thumb', the extension provides a link to the thumbnail (as an external link). (Media and Image have same effect.) Examples:
 
Instead, you can specify 'thumb', the extension provides a link to the thumbnail (as an external link). (Media and Image have same effect.)
*{{#filesize:Media:Ground_rules.jpg|50x100|linkthumb showparams}}
*{{#filesize:Media:Ground_rules.jpg|50x100|linkthumb showparams}}
*{{#filesize:Image:Ground_rules.jpg|50x100|linkthumb showparams}}
*{{#filesize:Image:Ground_rules.jpg|50x100|linkthumb showparams}}