首頁 » 線上工具

Singapure - 簡潔好用的 php 相簿

發表於 2006/07/19 | 分類: 線上工具 | 有 1 則迴響 | 瀏覽數: 5,855 個瀏覽人數
http://blog.joaoko.net/archives/8

Neo’s Blog 看到這篇「 精選五種 PHP 網路相簿總覽」後便想抓裡面介紹的 Singapure 回來試試。

先來看看網官的網址及他的 demo:
Singapure 官網:http://www.sgal.org/
Singapure Demo:http://www.sgal.org/demo

會想用它來當我的相簿是因為版面相當的簡單乾淨,預設的樣板就讓我非常的喜歡。
當然,如果嫌它太過「簡陋」的話,網路上還有網友提供的其他樣板可供選擇/下載:http://www.sgal.org/wiki/files/templates
另外就是 Singapure 不需要 MySQL 資料庫就可以儲存相簿所需要的資訊,而是存在 CSV 檔案裡頭。
註:0.10.0 beta 後有支援 MySQL

以下是我安裝及管理時所記錄的一些事項:
- 下載程式後解壓縮,把所有的檔案都上傳到伺服器
- 執行 install/install.php 進行安裝的工作
- 安裝時會檢查伺服器 / php 的環境,如果出現錯誤則要修正才能繼續安裝
- 安裝完成時請勿必把 install 目錄刪除
- 之後就可以到 admin.php 來開始建造及管理相簿了
- 預設的 admin 帳號/密碼是:admim/password
- Singapure 的基本及功能設定都在 singapore.ini 這個檔案裡,在這裡我覺得比較值得注意的是「gallery_sort_order」、「image_sort_order」及 「default_language」分別是設定相簿、照片的排列順序及相簿的預設語言。
註:Singapure 支援多國語系,語系檔是放在「locale」目錄裡。
- 上傳照片時可以使用瀏覽器上傳單張、壓縮檔上傳 (目前還不會用) 或是「Info in file name」方式上傳 (目前我使用的方式)。
- 使用 Info in file name 上傳時請註意目錄裡不能有 metadata 檔案。關於 Info in file name 的使用方法在 /docs/Advanced.html#iifn 有說明。

嗯,現在想到的大概就是這些,先把它們記下來,以後要安裝時還有得參考。

有 1 則迴響 »

  • 章魚小丸子 said:

    這個網站…好像有不少東東〝掛〞了耶!!

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.