LoadJPG(Filename)

Loads an image from the specified JPEG file.

To change the image dimensions, use the ImageWidth and ImageHeight properties.

Parameters

Filename. Specifies the name and path of the file to load.

Examples
Copy
Graphic = CRM.GetBlock('graphic');
Graphic.LoadJPG("C:\\Program Files\\Sage\\CRM\\CRM58\\WWWRoot\\Img\\Image.jpg");
CRM.AddContent(Graphic.Execute());
Response.Write(CRM.GetPage());

Displays an image stored in the Image.jpg file.