473,508 Members | 2,008 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help with index file that reads and displays subdirectories for a photo album

1 New Member
I'm looking for a little help in making an index file to read the subdirectories in the same folder and display the links in a table.

i am loading photo galleries using google's picasa onto my host and since picasa exports the albums as folders (I am using a simpleviewer template) i would like to use a script to read the subdirectories in the \photos directory (where the index file would also be located) and display the folders in a clean table format, say 3 columns by an infinite amount of rows...i'm guessing that paging (p1, p2, p3, etc...or a next/previous link) would be too difficult. the key is so that if i create a new directory that is readable that it shows up in the table.

any suggestions on either which scripting language would be best javascript, php, etc...

here's the structure

\photos
------\album1
------\album2
------\album3
------\album4
------\album5
------\album6
------\album7
------\album8
------\album9

essentially how i would like the index page to show links to those directories in a table format.

album 1 | album 2 | album 3
-----------------------------------------------------------------------
album 4 | album 5 | album 6
-----------------------------------------------------------------------
album 7 | album 8 | album 9
-----------------------------------------------------------------------

so that when i add a folder called album 10 the index page will pick it up and add it to row 4 column 1.

ultimately i would like to take it further and add a file in all the directories called collage.jpg that is unique to the particular album and have a thumbnail of that photo show up above the link in the table.
Sep 12 '07 #1
1 1296
epots9
1,351 Recognized Expert Top Contributor
in order to read the folders from the server you'll need to use server-side scripting (PHP, ASP.NET, atc.)

good luck
Sep 13 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2977
by: Nick | last post by:
I am building a photo album webpage and am not sure exactly how I should organize the database. Here's where Im at so far... I have one table called 'images' which contains the columns 'albumID',...
2
1988
by: JackM | last post by:
Let me attempt to explain my problem. I have a crude php script that takes a text list of songs that was generated by an mp3 list program and translates each entry into the form where they can be...
5
2044
by: TrvlOrm | last post by:
HI There, I have been struggling with JavaScript code for days now, and this is my last resort! Please help... I am trying to create a JavaScript slide show with links for Next Slide,...
1
1245
by: Stryker227 | last post by:
Problem: I've designed a XSD of which I wish to validate a valid XML file. However, I cannot seem to get the .xsd to align properly with the .xml file. Here are my source files: album.xsd: ...
3
2615
by: Ben Cartwright | last post by:
I'd like to create an ASP.NET-based photo album. Rather than creating a bunch of HTML pages as in a typical photo album, I'd like to leverage the dynamic capabilities of ASP.NET. Any suggestions...
1
1577
by: NH | last post by:
Hi, I'm struggling to display an image on asp.net webform (vb.net). The image is stored in a image field in a sql server database. I have read a good few solutions to it and still havnt got it...
0
5519
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
2
2502
by: pinkf24 | last post by:
I cannot figure out how to add the following: Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow the user to perform...
0
7227
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,...
0
7391
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...
1
7054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7501
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...
0
5633
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,...
1
5056
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...
0
3204
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
424
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...

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.