简单的图片库? [英] Simple image gallery?

查看:61
本文介绍了简单的图片库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好


我一直在谷歌搜索几个小时,但仍然没有找到我需要的



- 非常简单的基于PHP的图库软件。理想情况下,我只是将一个

单个文件放入一个充满JPG文件的目录中。

- 使用例如。 GD自动生成缩略图,并将它们保存到子目录中以供下次使用(我不希望缩略图每次有人查看时都会重新生成
图片)

- 作为一个选项,支持幻灯片演示

- 免费/开源


任何好的推荐?


谢谢。

Hello

I''ve been googling for a couple of hours, but still haven''t found what
I need:
- really simple PHP-based image gallery software. Ideally, just a
single file that I just drop into a directory filled with JPG files
- uses eg. GD to generate thumbnails automagically, and saves them
into a sub-directory for the next time (I don''t want thumbnails to be
regenerated every time someone views the pictures)
- as an option, supports slideshow
- free/open-source

Any good recommendation?

Thank you.

推荐答案

10月3日下午1:27,Gilles Ganault< nos ... @ nospam.comwrote:
On Oct 3, 1:27 pm, Gilles Ganault <nos...@nospam.comwrote:

我已经谷歌搜索了几个小时,但仍然没有找到什么

我需要:

- 非常简单的基于PHP的图库软件。
I''ve been googling for a couple of hours, but still haven''t found what
I need:
- really simple PHP-based image gallery software.



在phpclasses.org寻找机器人

look for Robopages at phpclasses.org


10月3日,下午1:27 ,Gilles Ganault写道:
On Oct 3, 1:27 pm, Gilles Ganault wrote:

我已经谷歌搜索了几个小时,但仍然没有找到

我是什么需要:

- 非常简单的基于PHP的图库软件。
I''ve been googling for a couple of hours, but still haven''t found
what I need:
- really simple PHP-based image gallery software.



您是否尝试过glob()函数?
http://us2.php.net/manual/en/function.glob.php


或者opendir()函数?
http://us2.php.net/manual/en/function.opendir.php

opendir()函数的示例:


<?php

Have you tried the glob() function?
http://us2.php.net/manual/en/function.glob.php

Or the opendir() function?

http://us2.php.net/manual/en/function.opendir.php

The example for the opendir() function:

<?php


dir =" / etc / php5 /" ;;


//打开一个已知目录,然后继续阅读其内容

if(is_dir(
dir = "/etc/php5/";

// Open a known directory, and proceed to read its contents
if (is_dir(


这篇关于简单的图片库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆