Anonymous

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

From OER in Education
m
Line 41: Line 41:
= Linking and showing the filesize =
= Linking and showing the filesize =


For pdf files, Media:...pdf and Image:...pdf link to the media, and to the media page:
For generic documents, Media:...pdf and Image:...pdf link to the media, and to the media page respectively:
*{{#filesize:Media:Sample Household Consensus Form.pdf|linkfull showparams}}
*Direct link to media {{#filesize:Media:Sample Household Consensus Form.pdf|linkfull showparams}} (filesize relevant)
*{{#filesize:Image:Sample Household Consensus Form.pdf|linkfull showparams}}
*Link to media page {{#filesize:Image:Sample Household Consensus Form.pdf|linkfull showparams}} (filesize less relevant, because it is also shown on the media page)


For images, 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:
*{{#filesize:Media:Ground_rules.jpg|50x100|linkfull showparams}}
*Link to image directly: {{#filesize:Media:Ground_rules.jpg|50x100|linkfull showparams}}
*{{#filesize:Image:Ground_rules.jpg|50x100|linkfull showparams}}
*Link to image page: {{#filesize:Image:Ground_rules.jpg|50x100|linkfull showparams}}


If you specify 'thumb', the extension provides a link to the thumbnail (as an external link):
If you 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}}