Anonymous

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

From OER in Education
m
Line 9: Line 9:
gives the filesize of that document, which is {{#filesize:Media:Sample Household Consensus Form.doc}}. The same with 'Image' in stead of 'Media' also works: {{#filesize:Image:Sample Household Consensus Form.doc}}
gives the filesize of that document, which is {{#filesize:Media:Sample Household Consensus Form.doc}}. The same with 'Image' in stead of 'Media' also works: {{#filesize:Image:Sample Household Consensus Form.doc}}


= Get file size for a particular image size =
= Get file size for thumbnail =


  <nowiki>{{#filesize:Image:Ground_rules.jpg|50}}</nowiki>
  <nowiki>{{#filesize:Image:Ground_rules.jpg|50}}</nowiki>


{{#filesize:Image:Ground_rules.jpg|50}} for this image: {{#filesize:Image:Ground_rules.jpg|50|linkthumb}}
constrains the image to width 50px. The size is {{#filesize:Image:Ground_rules.jpg|50}} for this thumbnail: {{#filesize:Image:Ground_rules.jpg|50|linkthumb}}


  <nowiki>{{#filesize:Image:Ground_rules.jpg|50x30}}</nowiki>
  <nowiki>{{#filesize:Image:Ground_rules.jpg|50x30}}</nowiki>


{{#filesize:Image:Ground_rules.jpg|50x30}} for this image: {{#filesize:Image:Ground_rules.jpg|50x30|linkthumb}}
constrains the size to within 50x30. Size is {{#filesize:Image:Ground_rules.jpg|50x30}} for this image: {{#filesize:Image:Ground_rules.jpg|50x30|linkthumb}}


  <nowiki>{{#filesize:Image:Ground_rules.jpg|10x30}}</nowiki>
  <nowiki>{{#filesize:Image:Ground_rules.jpg|10x30}}</nowiki>


{{#filesize:Image:Ground_rules.jpg|10x30}} for this image: {{#filesize:Image:Ground_rules.jpg|10x30|linkthumb}}
constrains teh size to within 10x3. Size is {{#filesize:Image:Ground_rules.jpg|10x30}} for this image: {{#filesize:Image:Ground_rules.jpg|10x30|linkthumb}}


= Specify a size, and help =
= Specify a size, and help =