|
|
| Topic: Creating insert templates for on the fly
|

|
![]](/skins/default/forum_images/left-side-table-bg.gif) |
| Author |
|
Support Admin Group

Joined: 11 October 2006
Australia Posts: 99
|
| Posted: 02 January 2008 at 3:34pm | IP Logged
|
|
|
Creating insert templates for delivery of pages on the fly
Template inserts can be used in your web pages when:
- Using Frontpage extension support
- Using CMS or portal solutions
- Using ASP, CFM, CGI, PHP, etc to deliver pages
An insert template usually only contains the code to be inserted. Where it gets placed on the page as it loads is determined by where your page calls the insert tag.
Insert tags
Different coding languages use slightly different insert tag lines. For example if using ASP you can add the following tag to where you want it to appear on your web page...
<!--#include file="inc_left_menu.asp"-->
The advantage of using insert templates is that commonly used parts of your web page can be easily updated. They can be used to display any and all html objects, including images and complex script routines.
Applet templates
Templates can be used for applet code to display images on the fly.
ArtistScope security applets have been specially designed to enhance the delivery of encrypted images on the fly. Normally to display an applet on the fly you need several parameters:
- Image file name
- Applet width
- Applet height
- Image file size
But with ArtistScope security applets you only need to define: The encrypted images for ArtistScope security applets as used in Secure Image Pro and Copysafe Web are renamed by the image converter and saved with the size information included in the image file name. The new file name will be like:
- My_Image_Name_0500_0300_C.*
Where 0500 is 500 pixels wide and 0300 is 300 pixels high. The C indicates that the image was encrypted by Copysafe Web and not Secure Image, thus allowing encrypted images for both solutions to be stored in the same folder or codebase.
Click here for more information on template structure and file name filtering.
|
Back to Top  |
|
| |
|
![]](/skins/default/forum_images/right-side-table-bg.gif) |
If you wish to post a reply to this topic you must first login If you are not already registered you must first register
![]](/skins/default/forum_images/left-side-table-bg.gif) |
|
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum
| |
![]](/skins/default/forum_images/right-side-table-bg.gif) |
|