readmequickalbumsetup.htm

来自「ASP.NET编写的网络像册,可以作为模板开发个人网站或其他」· HTM 代码 · 共 56 行

HTM
56
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<TITLE></TITLE>
		<META NAME="GENERATOR" Content="Microsoft Visual Studio 7.0">
	</HEAD>
	<BODY>
		<P>Setup :<BR>
			1. Download QuickAlbumVer1.zip server control file.<BR>
			2. Extract the zip file.
			<BR>
			3. Inside zip file. There are two directory.
			<BR>
			&nbsp;&nbsp;&nbsp; a. PhotoAlbumSkin =&gt; This is the directory where the 
			customize skin are.<BR>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(This directly can be 
			customize&nbsp;at design time or run time&nbsp;in Server Tag)<BR>
			&nbsp;&nbsp;&nbsp; b. sampleImages =&gt; This is the images directory for 
			sample testing.<BR>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(This directory can be 
			customize at design time or run time in Server Tag).<BR>
			4. Copy both of directories into virtual root where your default.aspx reside.<BR>
			&nbsp;&nbsp;&nbsp; (The location of this directory can be customize in Server 
			Tag).<BR>
			5. Copy PhotoAlbum.dll into "bin" directory.<BR>
			6. Create New aspx pages(WebForm), in the virtual root where your default.aspx 
			reside.<BR>
			7.&nbsp; Add this line of code at the top of the pages<BR>
			<FONT color="#3366ff">&lt;%@ Register TagPrefix="MYVS" Namespace= 
				"PhotoAlbum.Controls" Assembly="PhotoAlbum" %&gt;</FONT>
			<BR>
			8. Add this line between the runat server form<BR>
			<FONT color="#3333ff">&lt;MYVS:PAInterface id="Painterface1" 
				VirtualPathSkinName="/PhotoAlbumSkin/PhotoAlbumSkin2.ascx" 
				VirtualPathImage="/sampleImages" runat="server"&gt; &lt;/MYVS:PAInterface&gt;</FONT>
			<BR>
			9. Compile your project. If you got this below messages
			<BR>
			<FONT color="#ff6666">(The virtual path '/PhotoAlbumSkin/PhotoAlbumSkin2.ascx' maps 
				to another application, which is not allowed.)</FONT><BR>
			This means it doesnot able to find the path where VirtualPathSkinName, If you 
			run in localhost, try to put
			<BR>
			virtual directory name in front of VirtualPathSkinName and VirtualPathImage. So 
			it become like this statement<BR>
			below.(For example your virtual directory name is PortalCSVS):<BR>
			<FONT color="#3300ff">&lt;MYVS:PAInterface id="Painterface1" VirtualPathSkinName="/<FONT color="#ff9966">PortalCSVS</FONT>/PhotoAlbumSkin/PhotoAlbumSkin2.ascx" 
				VirtualPathImage="/<FONT color="#ff9966">PortalCSVS</FONT>/sampleImages" 
				runat="server"&gt; &lt;/MYVS:PAInterface&gt;</FONT><BR>
			Notice the orange color.
			<BR>
			10. You have finish the QuickAlbum 1.0&nbsp; gallery.
		</P>
	</BODY>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?