Readonly heightThe height in pixels
Readonly nameThe media item name - usually the file name
Readonly originalThe original media item URL in full resolution. This is only available for user uploaded images and for cliparts if configured in admin to provide the full asset.
Readonly previewThe relative URL for the preview of the media item. The preview has a medium resolution.
Readonly thumbnailThe relative URL for the thumbnail. The thumbnail has a low resolution.
Readonly typeThe type of the media item. This can be either Media or Clipart.
Readonly widthThe width in pixels
Generated using TypeDoc
A media item represents either a user uploaded image or a clip art image. It can be a raster image (PNG, JPG, TIFF and GIF) or a PDF document. In case of PDF's multi page media items are supported. Within MegaEdit, the first page would be the main media item, the other pages then children. This is an abstract interface - in actual use there are either UserMediaItem or ClipartItem instances.