| (E)2 Photo Gallery(mootools应用) |
| Saturday, 13 October 2007 | |
|
(E)2 Photo Gallery Made With Mootools (E)2 Photo Gallery是一个开源相册,它是基于mootools的,支持照片上传,利用php自动加载照片。 预览:demo特征:安装:第一步:打开config.php文件,按如下设置: //Define the folder where your photos will be placed on you server. //Relative to the path you place the gallery index.php $gallerypath="images";//EX. images or ../gallery/images no trailing slash needed $thumbpath="imagethumbs";//EX. images or ../gallery/imagethumbs $transitionspeed="500";//How fast you want the animations to render $fadespeed="300";//How fast you want the photos to fade in and out $username="username_here";//Username for accessing image uploader $password="password";//Password to access image uploader 第二步:将所有文件上传到服务器。 第三步:在你的浏览器中输入http://www.yoursite.com/gallery_location/uploader,并用你在config.php中设定的用户名和密码登录系统。上传你的照片到你定义的文件夹中。 创建多个相册:第一步:打开config.php文件,复制4至7行代码: $gallerypath="images";//EX. images or ../gallery/images no trailing slash needed $thumbpath="imagethumbs";//EX. images or ../gallery/imagethumbs $transitionspeed="500";//How fast you want the animations to render $fadespeed="300";//How fast you want the photos to fade in and out 第二步:打开index.php找到51行: require_once"config.php"; 第三步:将以上代码用第一步复制的代码替换: $gallerypath="images";//EX. images or ../gallery/images no trailing slash needed $thumbpath="imagethumbs";//EX. images or ../gallery/imagethumbs $transitionspeed="500";//How fast you want the animations to render $fadespeed="300";//How fast you want the photos to fade in and out 来源:http://www.e2interactive.com/e2_photo_gallery/documentation.php 下载;http://www.e2interactive.com/e2_photo_gallery/documentation.php
Set as favorite
Bookmark
Email This
Hits: 4290 Comments (0)
![]() Write comment
|
| < Prev | Next > |
|---|