UberGallery - The simple PHP photo gallery
==========================================
Created by, [Chris Kankiewicz](http://www.ChrisKankiewicz.com)
Introduction
------------
UberGallery is an easy to use, simple to manage, web photo gallery written in PHP and distributed
under the [MIT License](http://www.opensource.org/licenses/mit-license.php). UberGallery
**does not** require a database and supports JPEG, GIF and PNG file types. Simply upload your images
and UberGallery will automatically generate thumbnails and output standards compliant XHTML markup
on the fly.
Features
--------
* Simple first time installation
* Database-less configuration
* Include galleries within pre-existing sites
* Create multiple galleries with a single installation
* Easily customize your gallery styles via CSS
* Install and update the gallery easily wth Git (optional)
Requirements
------------
UberGallery requires PHP 5.2+ and the PHP-GD image library to work properly. For more information on
PHP and the PHP-GD image library, please visit [http://php.net](http://php.net).
Simple Installation
-------------------
1. Copy `resources/sample.galleryConfig.ini` to `resources/galleryConfig.ini` and modify the settings
to your liking.
2. Upload `index.php`, `resources/` and `gallery-images/` to your web server.
3. Upload images to the `gallery-images/` directory.
4. Make the `resources/cache/` directory writable by the web server:
```
chmod 777 /path/to/resources/cache
```
5. Open your web browser and load the page where you installed UberGallery.
Custom Installation
-------------------
1. Copy `resources/sample.galleryConfig.ini` to `resources/galleryConfig.ini` and modify the settings
to your liking.
2. Upload the `resources/` folder to your web server.
3. Insert the following code into the PHP page where you would like the gallery to be displayed
(be sure to change the include and image folder path to match your configuration):
```php
<?php include_once('path/to/resources/UberGallery.php'); $gallery = UberGallery::init()->createGallery('path/to/images-folder'); ?>
```
4. Include the UberGallery and desired ColorBox style sheet in your page header:
```html
<link rel="stylesheet" type="text/css" href="path/to/resources/UberGallery.css" />
<link rel="stylesheet" type="text/css" href="path/to/resources/colorbox/1/colorbox.css" />
```
**NOTE:** You can replace the `1` with a value between 1 and 5 for different ColorBox themes.
5. Include the jQuery and ColorBox javascript files in your page header:
```html
<script type="text/javascript" src="://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script type="text/javascript" src="path/to/resources/colorbox/jquery.colorbox.js"></script>
```
6. Include the ColorBox jquery call in your header:
```html
<script type="text/javascript">
$(document).ready(function(){
$("a[rel='colorbox']").colorbox({maxWidth: "90%", maxHeight: "90%", opacity: ".5"});
});
</script>
```
7. Upload images to your images directory.
8. Make the `resources/cache/` directory writable by the web server.
```
chmod 777 /path/to/resources/cache
```
9. Open your web browser and load the page where you installed UberGallery.
Install with Git
----------------
1. SSH into the your server and clone the UberGallery repository and submodules:
```
git clone --recursive git://github.com/UberGallery/UberGallery.git /path/to/gallery-directory
```
2. CD to your UberGallery installation:
```
cd /path/to/gallery-directory
```
3. Copy `resources/sample.galleryConfig.ini` to `resources/galleryConfig.ini` and modify the settings
```
cp resource/sample.galleryConfig.ini resources/galleryConfig.ini
nano resources/galleryConfig.ini
```
4. Make the `resources/cache/` directory writable by the web server.
```
chmod 777 resources/cache
```
5. Upload images to the `gallery-images/` folder within your gallery directory.
6. Open your web browser and load the page where you installed UberGallery.
**NOTE:** When using this method to install UberGallery, you may update your installation by running
the following commands:
cd /path/to/gallery-directory
git pull origin master
git submodule update
Troubleshooting
---------------
If you're having issues with UberGallery here are a few troubleshooting tips:
* Verify that you have PHP 5.2 or later installed. You can verify your PHP version by running:
```
php --version
```
* Make sure you have the latest version of UberGallery installed. You can always find the latest
version at <http://www.ubergallery.net/#download>
* Replace your `galleryConfig.ini` with `sample.galleryConfig.ini` to ensure proper configuration:
```
rm resources/galleryConfig.ini
cp resource/sample.galleryConfig.ini resources/galleryConfig.ini
```
* Clear your cache and make sure the directory is writable by the web server:
```
rm -f resources/cache/*
chmod 777 resources/cache
```
* Enable debugging by setting the `enable_debugging` option in `resources/galleryConfig.ini` to
`true`, try loading your gallery in a web browser then inspect the debug.log file in your cache
directory for any errors.
If you continue to have issues, please email me at: <Chris@ChrisKankiewicz.com>
News & Updates
--------------
UberGallery updates and news can be found on our [blog](http://news.ubergallery.net) or by
following [@UberGallery](http://twitter.com/ubergallery) on Twitter.
Please report bugs to the [Github issue tracker](http://github.com/UberGallery/ubergallery/issues).
License
-------
UberGallery is distributed under the terms of the
[MIT License](http://www.opensource.org/licenses/mit-license.php).
Copyright © 2013 [Chris Kankiewicz](http://www.chriskankiewicz.com)
没有合适的资源?快使用搜索试试~ 我知道了~
UberGallery-v2.4.4.rar_V2
共63个文件
png:31个
css:14个
php:8个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 150 浏览量
2022-09-23
13:27:56
上传
评论
收藏 84KB RAR 举报
温馨提示
UberGallery是一个使用PHP开发的简易相册,不需要数据库。UberGallery的设计基于超简单的管理,外观整洁和专业。它无需数据库和管理控制。为你的公文包添加项目就和上传相片一样简单,同时你可为每一个图片集付上信息文档,公文包里东西的运行均是通过一个简单的php文档,你可以通过html和css样式表来很容易的定制php文档。UberGallery适合摄影师,美术设计者,插图画家,web开发者等。
资源推荐
资源详情
资源评论
收起资源包目录
UberGallery-v2.4.4.rar (63个子文件)
UberGallery-v2.4.4
index.php 665B
resources
UberGallery.php 41KB
cache
sample.galleryConfig.ini 1KB
templates
defaultGallery.php 2KB
colorboxScripts.php 245B
UberGallery.css 3KB
page_white_stack.png 317B
themes
uber-orange
index.php 3KB
images
favicon.png 872B
rebase-min.css 1KB
style.css 4KB
uber-naked
index.php 998B
images
favicon.png 872B
style.css 3KB
uber-blue
index.php 3KB
images
favicon.png 872B
rebase-min.css 1KB
style.css 5KB
uber-responsive
css
bootstrap-responsive.min.css 16KB
bootstrap.min.css 101KB
style.css 282B
index.php 5KB
js
bootstrap.min.js 31KB
colorbox
jquery.colorbox.js 10KB
1
images
loading_background.png 157B
controls.png 3KB
overlay.png 182B
ie6
borderBottomRight.png 217B
borderMiddleRight.png 108B
borderMiddleLeft.png 108B
borderBottomLeft.png 215B
borderTopLeft.png 216B
borderTopRight.png 214B
borderBottomCenter.png 111B
borderTopCenter.png 111B
border.png 112B
loading.gif 723B
colorbox.css 5KB
5
images
loading_background.png 166B
controls.png 2KB
border.png 163B
loading.gif 723B
colorbox.css 3KB
2
images
controls.png 570B
loading.gif 723B
colorbox.css 2KB
3
images
controls.png 2KB
loading.gif 723B
colorbox.css 2KB
4
images
border2.png 170B
ie6
borderBottomRight.png 470B
borderMiddleRight.png 139B
borderMiddleLeft.png 148B
borderBottomLeft.png 473B
borderTopLeft.png 359B
borderTopRight.png 465B
borderBottomCenter.png 153B
borderTopCenter.png 153B
border1.png 1KB
loading.gif 723B
colorbox.css 4KB
gallery-images
README.md 6KB
COPYING 1KB
共 63 条
- 1
资源评论
JonSco
- 粉丝: 90
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功