473,406 Members | 2,273 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,406 software developers and data experts.

simple dinamic site (pict.gallery)?? help

i need do create simple dinamic site - built mainly
of pictures(they are the only dinamic part).

pictuers differ by the -Location- and by -Time- (in which
they were taken)... so on the index page visitor
should have 2 choices (how the pictures will be arranged)
(1) by time
(2) by location

the webmaster will only copy the pictures in folder
...and the page would automaticaly add these pictures in
gallery (with no need for editing html).

I need help or advice on how to do that (PHP,ASP, CF...
or could it be done with JavaScript??)

Site would be really simple,.. and it's not for comercial
use... (means i dont have money to pay for programming.)

thnx in advance.
-Dam
Jul 20 '05 #1
1 3016
dddddd wrote:

[snip]
the webmaster will only copy the pictures in folder
..and the page would automaticaly add these pictures in
gallery (with no need for editing html).

I need help or advice on how to do that (PHP,ASP, CF...
or could it be done with JavaScript??)


Javascript is client-side and also unreliable. Use PHP or ASP. Generally
speaking, the quickest way of dealing with it is to come up with a naming
scheme for the image files that will indicate the time and location of the
photo in an easily extractable format, for instance
2003-07-09-15-03-00-Down_the_road.jpeg

Then, you want to create a PHP/ASP script that will read the entries in that
directory and output an HTML file listing them. In PHP, look here:

<URL:http://www.php.net/manual/en/ref.dir.php>

In ASP, you'll want to use the filesystem object, something along the lines
of createobject("microsoft.filesystemobject") if those nasty memories
haven't scabbed over completely yet. I recommend PHP :)

You'll need some way of telling your script the order in which to display
them, so pass that in the query string. Something like
index.php?order=location. You'll use the $_REQUEST superglobal in PHP (or,
in ASP, the request object) to get this information.

Of course, server-side scripting is offtopic for this newsgroup so head over
to <URL:news:comp.lang.php> or its ASP equivelant for more information.

--
Jim Dabell

Jul 20 '05 #2

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

Similar topics

3
by: Jose Garcia | last post by:
Hi there, Can somebody explain me how can i use matrixes with dinamic memory? I use malloc and free (NOT new & delete). I want to access to the matrix like Matrix but i don't know how to do that...
6
by: gp | last post by:
Hi all, I'm using Microsoft Visual C++ 6.0, I would like to see, debugging my project, all the elements of my dinamic objects.... I have a dinamic array and a STL vector and I need to know...
1
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
11
by: shror | last post by:
hi every body I need help please i have designed an image gallery of about 20 pictures and they are shown in thumb nail views and for viewing the largeer version of the images i have added a...
25
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...
1
by: durjoy | last post by:
dunno is the right forum to ask for help , but i cant see any category for html help . dont know any other site as well . this site is my last hope dear experts . i was hosting my site with...
4
by: Paul Furman | last post by:
I've set up a web gallery with 6 thumbnails per page, etc with php which is a big complicated mess because I'm not a brilliant programmer... it is the outgrowth of a couple classes I took at a...
1
by: creative1 | last post by:
I have designed a gallery using XML FILE. File uploads the thumbnails and displays the big image on click of the image. I wan to open a site on click of the bigger image. Can someone help me how I...
3
by: jwidener117 | last post by:
i am well virsed in html and CSS but I am making a new portfolio site for myself and I would like to implement some java for a simple way to display my images, using my links to the left when the...
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: 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?
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...
0
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
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,...
0
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...

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.