[vz_ckimageresize]

Description

CKeditor is a wonderful addition to any CMS. It allows users to insert images which can then be resized using a lovely GUI. The only problem is, that the images are simply displayed at different dimensions using HTML or CSS tags - the original image remains untouched, and this can be a problem where users upload very large photographs and then resize them in CKeditor.

This tag "saves" the original image and creates a new image in the same location, appending "_vzimg_" plus the new dimensions to the filename. the tag then replaces the tag in the HTML with the new image source. If the image is resized again, the tag attempts to re-use the original image, and not the current one which may have been resized already.

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.

[vz_ckimageresize]

Description

CKeditor is a wonderful addition to any CMS. It allows users to insert images which can then be resized using a lovely GUI. The only problem is, that the images are simply displayed at different dimensions using HTML or CSS tags - the original image remains untouched, and this can be a problem where users upload very large photographs and then resize them in CKeditor.

This tag "saves" the original image and creates a new image in the same location, appending "_vzimg_" plus the new dimensions to the filename. the tag then replaces the tag in the HTML with the new image source. If the image is resized again, the tag attempts to re-use the original image, and not the current one which may have been resized already.

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.