Simple image gallery?
am 03.10.2007 21:27:45 von DFS
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.
Re: Simple image gallery?
am 03.10.2007 22:02:44 von Sandy.Pittendrigh
On Oct 3, 1:27 pm, Gilles Ganault wrote:
> I've been googling for a couple of hours, but still haven't found what
> I need:
> - really simple PHP-based image gallery software.
look for Robopages at phpclasses.org
Re: Simple image gallery?
am 03.10.2007 22:49:23 von Jim Carlock
On Oct 3, 1:27 pm, Gilles Ganault wrote:
> I've been googling for a couple of hours, but still haven't found
> what I need:
> - really simple PHP-based image gallery software.
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:
$dir = "/etc/php5/";
// Open a known directory, and proceed to read its contents
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
echo "filename: $file : filetype: " . filetype($dir . $file) . "\n";
}
closedir($dh);
}
}
?>
which prints out:
filename: . : filetype: dir
filename: .. : filetype: dir
filename: apache : filetype: dir
filename: cgi : filetype: dir
filename: cli : filetype: dir
--
Jim Carlock
Swimming Pool, Spa And Water Feature Builders
http://www.aquaticcreationsnc.com/
Re: Simple image gallery?
am 04.10.2007 08:03:21 von DFS
On Wed, 3 Oct 2007 16:49:23 -0400, "Jim Carlock"
wrote:
(snip)
Thanks for the reply, but I'd rather use something that's already
available rather than writing my own.
Features:
- no DB required
- one (or a few) PHP files, ie. really basic footprint
- generates thumbnails, and saves copy in sub-dir to avoid re-creating
thumbnails every time
- basic, no thrill layout template
Thanks.
Re: Simple image gallery?
am 04.10.2007 08:44:44 von luiheidsgoeroe
On Wed, 03 Oct 2007 21:27:45 +0200, Gilles Ganault
wrote:
> 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?
Well, 'good'.. OK I guess: http://www.mywebmymail.com/, EasyPhpAlbum. Has
all the requrements you mention.
--
Rik Wasmus
Re: Simple image gallery?
am 04.10.2007 14:11:24 von James Barrett
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gilles Ganault wrote:
> 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.
http://www.google.com/search?hl=en&q=php+image+gallery&btnG= Google+Search
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHBNhsQuDJiZ/QrH0RAs2OAJsF9F15Zb5HnV0r/R+t2fWePsgJpQCf QHqL
G33yLPcxnrz1pmYrubI+HAU=
=eY+w
-----END PGP SIGNATURE-----
Re: Simple image gallery?
am 04.10.2007 21:17:22 von Jim Carlock
I developed the following to display the pictures for a particular
customer...
http://www.aquaticcreationsnc.com/swimming/pool/builder/nc/b eanland/
If you're interested in the way that works, I've got the source
code for the layout.
--
Jim Carlock
Swimming Pool, Spa And Water Feature Builders
http://www.aquaticcreationsnc.com/
Re: Simple image gallery?
am 05.10.2007 21:02:45 von DFS
On Thu, 04 Oct 2007 08:44:44 +0200, "Rik Wasmus"
wrote:
>Well, 'good'.. OK I guess: http://www.mywebmymail.com/, EasyPhpAlbum. Has
>all the requrements you mention.
Thanks, just what I was looking for.
Re: Simple image gallery?
am 11.10.2007 00:54:34 von Sascha Tayefeh
Hi Gilles,
I have written one you might be interested in. It is hosted by
Sourceforge, so don't hesitate to follow this link:
http://atomphotoblog.sourceforge.net/
Although consists of a little more than a single file, it is a
lightweight program and, of course, free and open-source.
Sincerly
Sascha Tayefeh
Re: Simple image gallery?
am 16.10.2007 21:51:23 von DFS
On Wed, 10 Oct 2007 22:54:34 -0000, Sascha Tayefeh
wrote:
>http://atomphotoblog.sourceforge.net/
>
>Although consists of a little more than a single file, it is a
>lightweight program and, of course, free and open-source.
Thanks, I'll give it a shot.
Re: Simple image gallery?
am 28.10.2007 00:28:12 von pennington.chris
> - 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
I've actually been developing an image gallery that may be of some
help to you. I wasn't going to release this out into the wild yet
because I don't have a site setup for it yet, but I figured I may as
well try to help you out if at all possible.
So any ways, check out this link http://www.virtualconsolemondays.com/img/gallery/lightgaller y.php?page=0
If it is what you are looking for the great, if it is missing anything
you should be able to easily add it in.
Also if you need any help with it all just shoot me an email.
Re: Simple image gallery?
am 28.10.2007 02:01:09 von pennington.chris
On Oct 27, 5:28 pm, "pennington.ch...@gmail.com"
wrote:
> > - 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
>
> I've actually been developing an image gallery that may be of some
> help to you. I wasn't going to release this out into the wild yet
> because I don't have a site setup for it yet, but I figured I may as
> well try to help you out if at all possible.
>
> So any ways, check out this linkhttp://www.virtualconsolemondays.com/img/gallery/lightga llery.php?page=0
>
> If it is what you are looking for the great, if it is missing anything
> you should be able to easily add it in.
> Also if you need any help with it all just shoot me an email.
Updated the link to the gallery it is now:
http://downupdesigns.com/lightgallery/lightgallery.php?page= 0
Re: Simple image gallery?
am 28.10.2007 15:32:22 von NerdRevenge
pennington.chris@gmail.com wrote:
> On Oct 27, 5:28 pm, "pennington.ch...@gmail.com"
> wrote:
>>> - 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
>> I've actually been developing an image gallery that may be of some
>> help to you. I wasn't going to release this out into the wild yet
>> because I don't have a site setup for it yet, but I figured I may as
>> well try to help you out if at all possible.
>>
>> So any ways, check out this linkhttp://www.virtualconsolemondays.com/img/gallery/lightga llery.php?page=0
>>
>> If it is what you are looking for the great, if it is missing anything
>> you should be able to easily add it in.
>> Also if you need any help with it all just shoot me an email.
>
> Updated the link to the gallery it is now:
>
> http://downupdesigns.com/lightgallery/lightgallery.php?page= 0
>
Very nice.
What is the CC license ?
bill
Re: Simple image gallery?
am 28.10.2007 18:51:41 von pennington.chris
On Oct 28, 9:32 am, bill wrote:
> pennington.ch...@gmail.com wrote:
> > On Oct 27, 5:28 pm, "pennington.ch...@gmail.com"
> > wrote:
> >>> - 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
> >> I've actually been developing an image gallery that may be of some
> >> help to you. I wasn't going to release this out into the wild yet
> >> because I don't have a site setup for it yet, but I figured I may as
> >> well try to help you out if at all possible.
>
> >> So any ways, check out this linkhttp://www.virtualconsolemondays.com/img/gallery/lightga llery.php?page=0
>
> >> If it is what you are looking for the great, if it is missing anything
> >> you should be able to easily add it in.
> >> Also if you need any help with it all just shoot me an email.
>
> > Updated the link to the gallery it is now:
>
> >http://downupdesigns.com/lightgallery/lightgallery.php?page =0
>
> Very nice.
>
> What is the CC license ?
>
> bill
Eh, I haven't put that into the code have I? Basically use it how you
want and when I put the license in the code all you have to do is
leave it in there. Free to edit and redistribute with the eventual CC
license intact.
Re: Simple image gallery?
am 28.10.2007 18:59:53 von Hans-Peter Sauer
<1193593901.765164.278920@o3g2000hsb.googlegroups.com>
> > >http://downupdesigns.com/lightgallery/lightgallery.php?page =0
> >
> > Very nice.
> >
> > What is the CC license ?
> >
> > bill
>
> Eh, I haven't put that into the code have I? Basically use it how you
> want and when I put the license in the code all you have to do is
> leave it in there. Free to edit and redistribute with the eventual CC
> license intact.
>
Have you (or most other users) ever questioned why something that nobody
pays the slightest bit of attention too gets included - along with some
bollocks text saying it shouldnt be removed .
BTW: these are usually the same people who point out 'the futility of
war' movies make a valid point - ha ha ha ha ha :-)
--
www.jpgimage.co.uk
Re: Simple image gallery?
am 28.10.2007 19:37:21 von pennington.chris
On Oct 28, 12:59 pm, Krustov wrote:
>
>
>
> <1193593901.765164.278...@o3g2000hsb.googlegroups.com>
>
> > > >http://downupdesigns.com/lightgallery/lightgallery.php?page =0
>
> > > Very nice.
>
> > > What is the CC license ?
>
> > > bill
>
> > Eh, I haven't put that into the code have I? Basically use it how you
> > want and when I put the license in the code all you have to do is
> > leave it in there. Free to edit and redistribute with the eventual CC
> > license intact.
>
> Have you (or most other users) ever questioned why something that nobody
> pays the slightest bit of attention too gets included - along with some
> bollocks text saying it shouldnt be removed .
>
> BTW: these are usually the same people who point out 'the futility of
> war' movies make a valid point - ha ha ha ha ha :-)
>
> --www.jpgimage.co.uk
Ya, that is kinda true. Especially with php since all of the code is
parsed server side and any comments are never seen by the browser.
But none the less, it is nice to have at least the original url in
there so that if there are ever any problems you have a good place to
look.
But then again, what does it really matter? You are getting something
for free.
Re: Simple image gallery?
am 28.10.2007 19:57:05 von luiheidsgoeroe
On Sun, 28 Oct 2007 18:59:53 +0100, Krustov wrote:
>
>
>
> <1193593901.765164.278920@o3g2000hsb.googlegroups.com>
>
>> > >http://downupdesigns.com/lightgallery/lightgallery.php?page =3D0
>> >
>> > Very nice.
>> >
>> > What is the CC license ?
>> >
>> > bill
>>
>> Eh, I haven't put that into the code have I? Basically use it how yo=
u
>> want and when I put the license in the code all you have to do is
>> leave it in there. Free to edit and redistribute with the eventual C=
C
>> license intact.
>>
>
> Have you (or most other users) ever questioned why something that nobo=
dy
> pays the slightest bit of attention too gets included - along with som=
e
> bollocks text saying it shouldnt be removed .
99% of the time useless indeed, just something for the ego of the origin=
al =
author. The other 1% is usefull though, people pointing out bugs/adding =
or =
proposing features/discovering security issues might like to know where =
to =
comment on it.
> BTW: these are usually the same people who point out 'the futility of
> war' movies make a valid point - ha ha ha ha ha :-)
Well, they sometimes make a point, they're just not going to change =
anything. Wether it makes a point or not hasn't got anything to do with =
=
being a good movie offcourse, allthough the preachy ones tend to forget =
to =
include a descent story somewhat more often.
-- =
Rik Wasmus
Re: Simple image gallery?
am 08.11.2007 06:28:27 von pennington.chris
Just released a new version of my lightGallery php script.
Updates:
1. No use of a flat file database anymore. (unneeded thumbnail
removal)
2. JavaScript enabled and disabled versions, you choose now.
3. Other slight tweaks/optimizations.
Check out lightGallery 1.0: http://www.downupdesigns.com/lightgallery/lightgallery.php?p age=0
Re: Simple image gallery?
am 08.11.2007 06:41:55 von Larry Anderson
On Nov 7, 9:28 pm, "pennington.ch...@gmail.com"
wrote:
> Just released a new version of my lightGallery php script.
>
> Updates:
>
> 1. No use of a flat file database anymore. (unneeded thumbnail
> removal)
> 2. JavaScript enabled and disabled versions, you choose now.
> 3. Other slight tweaks/optimizations.
>
> Check out lightGallery 1.0:http://www.downupdesigns.com/lightgallery/lightgallery.p hp?page=0
Very nice;
The previous and next links were non functional in the non javascript
version.
Re: Simple image gallery?
am 09.11.2007 01:23:50 von pennington.chris
On Nov 7, 11:41 pm, la...@portcommodore.com wrote:
>
> Very nice;
>
> The previous and next links were non functional in the non javascript
> version.
Yeah, sorry about that. They are functional, but I just didn't upload
enough pictures to fill more than one page. I'll go ahead and upload
the rest just so that no one thinks this is an issue.
Re: Simple image gallery?
am 09.11.2007 14:33:22 von JackM
pennington.chris@gmail.com wrote:
> On Nov 7, 11:41 pm, la...@portcommodore.com wrote:
>
>>Very nice;
>>
>>The previous and next links were non functional in the non javascript
>>version.
>
>
>
> Yeah, sorry about that. They are functional, but I just didn't upload
> enough pictures to fill more than one page. I'll go ahead and upload
> the rest just so that no one thinks this is an issue.
>
Just wondering... is the ability to add descriptions to the individual
photos somewhere on the future "to do" list?
Re: Simple image gallery?
am 09.11.2007 17:48:17 von Hans-Peter Sauer
> Just wondering... is the ability to add descriptions to the individual
> photos somewhere on the future "to do" list?
>
www.jpgimage.co.uk/view.php?image=256
While not suggesting the above is the best way to do it - personally i
like some of the other image data to be displayed as well and in one
respect its actually a web design problem as no layout will ever be
perfect or suit everybody .
Re: Simple image gallery?
am 09.11.2007 21:38:48 von pennington.chris
On Nov 9, 8:33 am, JackM wrote:
>
> Just wondering... is the ability to add descriptions to the individual
> photos somewhere on the future "to do" list?
It really isn't in my plans to make such an addition. My initial
vision for this script was to just grab all of the images out of a
directory and display them with thumbnails and use a functional
navigation system for multiple pages of pictures. I've been trying to
keep it as light weight as possible and I don't really want to include
any database work (which would be needed for desciptions and other
information for each picture).
If anyone wants to take my code and create a more intuitive image
gallery with it, then by all means do so, but I feel that I have
created a solution for the initial problem that I had in mind.
I'm always free to suggestions, and I hope to be creating an actual
description page for this project in the near future so that it is
easier to understand any changes and to also make requests.
Re: Simple image gallery?
am 12.11.2007 09:52:17 von j80k-vpfc
In article <1194640728.807565.27280@19g2000hsx.googlegroups.com>,
pennington.chris@gmail.com () wrote:
> *Subject:* Re: Simple image gallery?
> *From:* "pennington.chris@gmail.com"
> *Date:* Fri, 09 Nov 2007 12:38:48 -0800
>
> On Nov 9, 8:33 am, JackM wrote:
> >
> > Just wondering... is the ability to add descriptions to the
> > individual
> > photos somewhere on the future "to do" list?
>
> It really isn't in my plans to make such an addition. My initial
> vision for this script was to just grab all of the images out of a
> directory and display them with thumbnails and use a functional
> navigation system for multiple pages of pictures. I've been trying
> to
> keep it as light weight as possible and I don't really want to
> include
> any database work (which would be needed for desciptions and other
> information for each picture).
>
> If anyone wants to take my code and create a more intuitive image
> gallery with it, then by all means do so, but I feel that I have
> created a solution for the initial problem that I had in mind.
>
> I'm always free to suggestions, and I hope to be creating an actual
> description page for this project in the near future so that it is
> easier to understand any changes and to also make requests.
>
>
JAlbum gets round this by taking text from a .txt file.
photo1.jpg displays text from photo1.txt
photo2.jpg < photo2.txt and so on.
Unfortunately JA needs to be rebuilt each time the folder contents change
:-(
As this is dynamic, I like it :-)
Previous/Next links while the photo is open full screen would be nice too.
To work through an entire folder when there are lots of photos becomes a
drag continually returning to the index page.
Thanks,
- Steve
Re: Simple image gallery?
am 15.11.2007 23:29:32 von pennington.chris
On Nov 12, 2:52 am, j80k-v...@dea.spamcon.org (Steve) wrote:
> In article <1194640728.807565.27...@19g2000hsx.googlegroups.com>,
>
>
>
> pennington.ch...@gmail.com () wrote:
> > *Subject:* Re: Simple image gallery?
> > *From:* "pennington.ch...@gmail.com"
> > *Date:* Fri, 09 Nov 2007 12:38:48 -0800
>
> > On Nov 9, 8:33 am, JackM wrote:
>
> > > Just wondering... is the ability to add descriptions to the
> > > individual
> > > photos somewhere on the future "to do" list?
>
> > It really isn't in my plans to make such an addition. My initial
> > vision for this script was to just grab all of the images out of a
> > directory and display them with thumbnails and use a functional
> > navigation system for multiple pages of pictures. I've been trying
> > to
> > keep it as light weight as possible and I don't really want to
> > include
> > any database work (which would be needed for desciptions and other
> > information for each picture).
>
> > If anyone wants to take my code and create a more intuitive image
> > gallery with it, then by all means do so, but I feel that I have
> > created a solution for the initial problem that I had in mind.
>
> > I'm always free to suggestions, and I hope to be creating an actual
> > description page for this project in the near future so that it is
> > easier to understand any changes and to also make requests.
>
> JAlbum gets round this by taking text from a .txt file.
>
> photo1.jpg displays text from photo1.txt
> photo2.jpg < photo2.txt and so on.
>
That is definitely a decent way of doing that, but the thinking behind
my gallery is that I didn't want the user to really have to do
anything besides uploading the script and the images. To tell the
truth it really wouldn't be that hard to incorporate that sort of idea
into this script.
>
> Previous/Next links while the photo is open full screen would be nice too.
> To work through an entire folder when there are lots of photos becomes a
> drag continually returning to the index page.
>
I'm guessing you are talking about the non-javascript version, which I
plan on fixing that in a small update, I just haven't gotten around to
it yet.
This one discussion is the only real place that I have publicly spoken
about the gallery.
Re: Simple image gallery?
am 16.11.2007 00:13:02 von j80k-vpfc
In article
<7e6594c6-01e5-428c-9435-66f2556db1c9@n20g2000hsh.googlegroups.com>,
pennington.chris@gmail.com () wrote:
> > JAlbum gets round this by taking text from a .txt file.
> >
> > photo1.jpg displays text from photo1.txt
> > photo2.jpg < photo2.txt and so on.
> >
>
> That is definitely a decent way of doing that, but the thinking
> behind
> my gallery is that I didn't want the user to really have to do
> anything besides uploading the script and the images. To tell the
> truth it really wouldn't be that hard to incorporate that sort of
> idea
> into this script.
>
> >
> > Previous/Next links while the photo is open full screen would be
> > nice too.
> > To work through an entire folder when there are lots of photos
> > becomes a
> > drag continually returning to the index page.
> >
>
>
> I'm guessing you are talking about the non-javascript version,
> which I
> plan on fixing that in a small update, I just haven't gotten around
> to
> it yet.
>
> This one discussion is the only real place that I have publicly
> spoken
> about the gallery.
>
On my photo upload page, I ask for text after the browse for photo. That
then gets stored together with the photo... same name different suffix.
JAlbum does the rest.
- Steve