Glossary Item Box

Site templates: Site templatesDefault page templateContent templatesPrint version template

See Also CmsDeveloperGuide Send comments on this topic.

Main image page

If it is necessary you can set up a page that displays a large version of a picture, the reduction of which is displayed in a site content. 


At the top of the page it should obligatory stay a declaration <%@ Page language="c#" Inherits="CMSLib.Pages.MainImagePage" %>
The page should also contain head tags: <head id="Head1" runat="server"></head> и <img src="" border="1" id="mainImage" runat="server" />.


This page lies in a site root and is called MainImage.aspx. It can look as follows:

<%@ Page language="C#" Inherits="CMSLib.Pages.MainImagePage" %>

<html>
<head id="Head1" runat="server"></head>
<body>
<table width="100%" height="100%" border="0" cellspacing="2" cellpadding="2" align="center">
<tr>
<td align="center">
<img src="" border="1" id="mainImage" runat="server" />
</td></tr></table>
</body>
</html>

Site templates: Site templatesDefault page templateContent templatesPrint version template

 

 


© 2005-2007 Astron Digital Ltd. All Rights Reserved.