473,385 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Updatable online foto collection?

I'd like to have a link on my home page that would point to a collection
of images in a folder such that users could go to and view any of the
images in that folder using just their browser -- and the collection of
viewable images could be updated at any time just by adding or deleting
images to the folder, with NO html re-coding, anywhere.

Not a "photo album" in the usual sense -- no thumbnails or captions or
commentary for the individual images are needed, and individual images
in the folder can be identified to the user only by their file names [1].

I have the impression something like this can be done in ftp. But can
any form of standard html coding [2] access the directory of a folder
[3] and automatically create a kind of auto-updated index page with
links to each individual file or document currently in that folder?
[1] Seems like this could be handy for documents as well as images.

[2] If someone can give me the name of the html command, I can look up
the details. But, sorry, if it involves javascripting or other more
sophisticated stuff, that's going to be beyond the level that I'll be
able to handle.

[3] In Unix jargon a "folder" is a "directory", right? But is there a
separate term for the list of file names in that directory -- the
"directory" of the "directory"?
Jul 23 '05 #1
2 1717
AES/newspost <si*****@stanford.edu> wrote:
I'd like to have a link on my home page that would point to a collection
of images in a folder such that users could go to and view any of the
images in that folder using just their browser -- and the collection of
viewable images could be updated at any time just by adding or deleting
images to the folder, with NO html re-coding, anywhere.

Not a "photo album" in the usual sense -- no thumbnails or captions or
commentary for the individual images are needed, and individual images
in the folder can be identified to the user only by their file names [1].


Create a directory for the images and then configure your web server to
allow directory browsing for that directory (typically defaults to off).

--
Spartanicus
Jul 23 '05 #2
AES/newspost wrote:
I have the impression something like this can be done in ftp. But can
any form of standard html coding [2] access the directory of a folder
[3] and automatically create a kind of auto-updated index page with
links to each individual file or document currently in that folder?


Nothing to do with HTML. You have to configure your web server to create
an automatic index whenever there is no "index.html" file[1] in a
directory and then make sure that there *is* no index.html in the
directory.

If you're using Apache (and about 70% of web servers are Apache) then
create a text file called ".htaccess" (yes the leading dot is important!)
and put the following two lines in it:

Options +Indexes
DirectoryIndex 34635634563455.html

(The filename 34635634563455.html isn't important -- it just needs to be
a file that doesn't exist!)

Then place that file in the directory in question.

[1] Some web servers will use different names such as "default.html" as
the index.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jul 23 '05 #3

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

Similar topics

2
by: Rajah Venkata Krishnan | last post by:
I am trying to write updatable cursors in a stored procedure? Can I get any help to write updatable cursors? Any help would be appreciated very much. Thanks for your help in advance. Rajah...
1
by: Richard Hollingsworth | last post by:
Hello: I've just converted my Access 2K db to SQL Server 2K and the conversion went smoothly. I created users, roles, views and forms and gave the users permissions to use them. I "THINK" I...
2
by: Johnny M | last post by:
I have been using Access since office 4.3. I have just upgraded to Office 2003 and am having issues with creating updatable queries. If I link one table to a selection query based on the same...
0
by: Michelle | last post by:
Hi All Here's my scenario. I have a main form (shows team details and rostered shift for selected date). This form is updatable. On this form I have a subform which shows agents belonging to...
14
by: Martin Lacoste | last post by:
Access 2000 Trying even the most basic queries - select queries joining (inner join) two tables - and the results are not updatable, and I can't tell why they aren't. All permissions are on,...
2
by: Enterprise | last post by:
Hi, Here is my code for the Union query "Table union Table union Table ;" The tables are actually queries themselves. I made a form for the query, but when I try to update the...
1
by: angus | last post by:
i'm trying to make an photo album, and i want a thumbnail view of al the foto's in an album. i just don't know how to do that. i've treid a few things: -i've used picture box'ses. every photo that...
3
by: JoshG | last post by:
Hello, We are researching whether the following scenario would be possible: In an upcoming application release, we have to move some tables (Log tables, look up tables, and a couple of secure...
0
by: =?Utf-8?B?UHVyZSBIZWFydA==?= | last post by:
hi i was wondering haw to make my application more updatable online, like i will divide my applivction to datalayer assembly, business rules assembly, user interface asembly, so if i want then...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.