473,748 Members | 2,227 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Looking for very simple and dynamic photo gallery based on directories...

mdg
Hi everyone.

I'm having trouble finding something. If I can't find it, I could
bumble my way through writing something, but I thought I'd check around
first.

I am looking for a php script or some other software that will build a
dynamic photo gallery without adding or changing my photos, or creating
any static content.

I use Gallery2 for my favorite photos...but I'd like the rest of the
thousands to be available online, and to be available just becuase
they're in the photos folder. I keep my photos in something like
/home/mdg/Photos/2006/whatever ../2006/whateverelse
.../2006/whateverthethir d and I add them all the time.

I want a script that I could keep at
/home/mdg/public_html/somescript.php or whatever...and point it at my
photo root and have them all be there when I hit the script with my
browser.

So...I know the requirements are pretty specific. But, if anyone knows
anything even close to something like this...I'd love to hear about it.

Thanks,
Matt

Oct 8 '06 #1
6 2297
Message-ID: <11************ **********@h48g 2000cwc.googleg roups.comfrom
mdg contained the following:
>So...I know the requirements are pretty specific. But, if anyone knows
anything even close to something like this...I'd love to hear about it.
Take a look at the directories in
http://www.walkingoutdoors.co.uk/Geoff/

This probably does a little more than you are asking. I dump the files
and create a couple of writeable directories into the directory I'm
using. The first time the script runs it creates copies of the files
for display. Subsequently, it displays those images without recreating
new ones.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Oct 8 '06 #2
mdg

Geoff Berrow wrote:
Message-ID: <11************ **********@h48g 2000cwc.googleg roups.comfrom
mdg contained the following:
So...I know the requirements are pretty specific. But, if anyone knows
anything even close to something like this...I'd love to hear about it.

Take a look at the directories in
http://www.walkingoutdoors.co.uk/Geoff/

This probably does a little more than you are asking. I dump the files
and create a couple of writeable directories into the directory I'm
using. The first time the script runs it creates copies of the files
for display. Subsequently, it displays those images without recreating
new ones.
I like it. Can I have a peek at the script?

Matt

Oct 9 '06 #3
Message-ID: <11************ **********@b28g 2000cwb.googleg roups.comfrom
mdg contained the following:
>This probably does a little more than you are asking. I dump the files
and create a couple of writeable directories into the directory I'm
using. The first time the script runs it creates copies of the files
for display. Subsequently, it displays those images without recreating
new ones.

I like it. Can I have a peek at the script?
OK, it's not particularly pretty because I haven't got around to tidying
it up yet but here ya go.
http://www.walkingoutdoors.co.uk/Geo...ry/gallery.zip

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Oct 9 '06 #4
mdg

Geoff Berrow wrote:
Message-ID: <11************ **********@b28g 2000cwb.googleg roups.comfrom
mdg contained the following:
I like it. Can I have a peek at the script?

OK, it's not particularly pretty because I haven't got around to tidying
it up yet but here ya go.
http://www.walkingoutdoors.co.uk/Geo...ry/gallery.zip
Thanks Geoff. I put it up in a test directory and it worked well:
http://themdg.org/photos/fromgroups/Trip/

Maybe i can change it around to suit my needs a bit. If I do, I'll
send you a copy in case you might be interested.

The presentation is great. Maybe I can make it so it's recursive, and
lives outside of the images directory. I have SO many directories that
I'd hate to have a copy of a script in each folder. Yuk.

Thanks again.

Matt in MD

Oct 9 '06 #5
Geoff Berrow wrote:
Message-ID: <11************ **********@b28g 2000cwb.googleg roups.comfrom
mdg contained the following:

>>This probably does a little more than you are asking. I dump the files
and create a couple of writeable directories into the directory I'm
using. The first time the script runs it creates copies of the files
for display. Subsequently, it displays those images without recreating
new ones.
I like it. Can I have a peek at the script?

OK, it's not particularly pretty because I haven't got around to tidying
it up yet but here ya go.
http://www.walkingoutdoors.co.uk/Geo...ry/gallery.zip

Very sweet and to the point.

I've written a handful of galleries - some using a database - creating
separate photo packages (folders) - a full administration back-end with
login and uploading one picture at a time - allowing individual captions
- re-ordering, .... links back to an index of photo packages (folders), ....

Lately, I like the simple method like you've used. FTP a bunch of photos
and the php script files to display them. Your method is very straight
forward and the display sweet in it's simplicity. You've given me some
ideas for improving mine now, too. Thanks for sharing.

--
*************** **************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*************** **************
Oct 10 '06 #6
Message-ID: <EJ************ *************** ***@comcast.com from Chuck
Anderson contained the following:
>OK, it's not particularly pretty because I haven't got around to tidying
it up yet but here ya go.
http://www.walkingoutdoors.co.uk/Geo...ry/gallery.zip

Very sweet and to the point.

I've written a handful of galleries - some using a database - creating
separate photo packages (folders) - a full administration back-end with
login and uploading one picture at a time - allowing individual captions
- re-ordering, .... links back to an index of photo packages (folders), ....

Lately, I like the simple method like you've used. FTP a bunch of photos
and the php script files to display them. Your method is very straight
forward and the display sweet in it's simplicity. You've given me some
ideas for improving mine now, too. Thanks for sharing.
That's what open source is all about :-)

Thank you for your kind comments.

the only drawback about doing it this way is that the reduced size
display images are only created when they are viewed for the first time.
This makes the first viewing rather slow, especially if the source
images are large. As I have a six megapixel camera, I tend to batch
reduce the picture in size prior to uploading (I upload pics from my
phone as they are.) I leave final reduction to the software.

I'm thinking of adding a link to the large image if I can do it without
losing the simplicity.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Oct 10 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2878
by: matt | last post by:
I have this code, works perfectly on Windows server, but now i'm trying to run it on a Linux server, the form submits, i get no errors, but the photo doesnt upload, and the caption file doesnt write.... any ideas why?? <?php include 'gall_settings.inc';
1
1689
by: leigh | last post by:
I need a php photo gallery script that will allow me to categorise photos to directories/sections, post captions for each photo and allow users to comment on individual photos. If there is one anyone can recommend it will greatly be appreciated. I am willing to pay but freeware is preferable. Thanks
2
2969
by: Chris | last post by:
Anyone one a free dynamic php photo gallery? Need it to be easily integrated into an existing site and also has to be easy for 'non-techie' users to add galleries and images. Any help gratefully received. Regards, Chris. www.bororules.co.uk
9
2971
by: Henri Sivonen | last post by:
URL: http://hsivonen.iki.fi/france-2005/ On the page, markup looks like this: <p class="imgpara"><a href="..."><img src="..." alt="..." height="..." width="..."></a>Caption 1</p> <p class="imgpara"><a href="..."><img src="..."
7
3271
by: Eric Lindsay | last post by:
I would like to do a photo gallery with a liquid layout. I wanted to center a caption below each photo (or above each photo). I can do that easily with tables, but then I don't have a liquid layout. Besides, I wanted to try to do it with CSS. I can do centered captions with text-align. This works provided the element containing each photo is floated left. I have found several examples of how to do this. However I didn't want the...
13
4347
by: Viken Karaguesian | last post by:
Hello everyone, Can anyone recommend a good online site to learn PHP? The W3Schools website is quite lacking - leaves much to be desired. I'm sure there are many places, but which ones are good? I currently run a site with an extensive photo gallery. Hundreds of photos. Right now I have a system which the thumbnails are laid out in a table. You click on a thumbnail and you see the full size picture. That full size picture is in its...
25
4142
by: Gilles Ganault | last post by:
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...
0
1359
by: Jumping Arne | last post by:
I've searching for some software that would allow me to present my photos on the web (I'm not interested a software that generates static pages that I upload) and there are quite a few, see for example <http://en.wikipedia.org/wiki/Comparison_of_photo_gallery_software>, but I haven't managed to find one that I like - Gallery 2 is close. So I've started to see if there is one that is based python (PHP isn't really "my language") but when...
1
3436
by: Scott Sandeman-Allen | last post by:
On 5/1/08, Jumping Arne (arnlen@mac.com) wrote: I've been working with Photologue for a while with some nice results. <http://code.google.com/p/django-photologue/> It is a Django project <http://www.djangoproject.com/>, It includes support for tagging:
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8831
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9249
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8245
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.