📄 readmequickalbumsetup.htm
字号:
<!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>
a. PhotoAlbumSkin => This is the directory where the
customize skin are.<BR>
(This directly can be
customize at design time or run time in Server Tag)<BR>
b. sampleImages => This is the images directory for
sample testing.<BR>
(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>
(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. Add this line of code at the top of the pages<BR>
<FONT color="#3366ff"><%@ Register TagPrefix="MYVS" Namespace=
"PhotoAlbum.Controls" Assembly="PhotoAlbum" %></FONT>
<BR>
8. Add this line between the runat server form<BR>
<FONT color="#3333ff"><MYVS:PAInterface id="Painterface1"
VirtualPathSkinName="/PhotoAlbumSkin/PhotoAlbumSkin2.ascx"
VirtualPathImage="/sampleImages" runat="server"> </MYVS:PAInterface></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"><MYVS:PAInterface id="Painterface1" VirtualPathSkinName="/<FONT color="#ff9966">PortalCSVS</FONT>/PhotoAlbumSkin/PhotoAlbumSkin2.ascx"
VirtualPathImage="/<FONT color="#ff9966">PortalCSVS</FONT>/sampleImages"
runat="server"> </MYVS:PAInterface></FONT><BR>
Notice the orange color.
<BR>
10. You have finish the QuickAlbum 1.0 gallery.
</P>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -