Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Embeds an image (or media file) into the page. It acts in a similar way as the images formatting (using !) but it is used to record versions of attachments in approvals. It can be used also to access specific version of images.

When accessing older versions of approved pages, then the current version of the image will be displayed.

Parameters

Mandatory

Default

Description

unnamed first parameter

Yes

 

The image/media (attachment) name +within the page

thumbnail

No

 

Insert a thumbnail of the image into the page

version

No

latest version of the file

version of the attachment

approval

No

 

The Approval name to obtain the version from

other attributes

No

 

Other image/media attributes could be defined in the form <valuename>=><value>

Examples

Code Block
 
{embed:image.jpg} 

Embeds the attachment image.jpg into the page.

Code Block
 
{embed:image.jpg|version=1} 

Embeds version 1 of the attachment image.jpg into the page.

Code Block
 
{embed:image.jpg|approval=Reviewer} 

Embeds whatever version of the approved image.jpg was current when it received the latest Reviewer approval.

Code Block
 
{embed:mymovie.swf|version=2|width=800,height=623,quality=best,id=mymovie}

Embeds version 2 of the flash movie mymovie.swf into the page.