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

Dynamic Photo Album using JSP

Hey all,

I'm not too sure if this is the right place to post my question - or if
I should go to a JSP group. Anyway here is my question.

I am looking at finding/ making an online dynamic photo album which
uses JSP. I've seen a lot of examples using PHP and a few online
albums using Javascript, however those albums using JavaScript are not
dynamic - the images are hard coded.

My scenario is this, we have about 6 different events with about 150
photos each. What I would like to happen is to be able to have a index
page which lists 10 photos each, and when you click on the photo to be
taken to a secondary page with a larger image. I would like to do this
without needing to create 150 dependant pages.

I understand that we will be looking at using server side technology.
As our pages already use JSP we don't want to add a second server side
language (PHP, Pearl etc...) to the equation.

So does anyone know of a script that may already do this?

If not, I am happy to start working my own script. However I am not to
familiar with JSP - though I used to do a fair bit of ASP using VB
Script. What I would like is to be pointed into a page that will show
me how to create an array with a list of filenames in a given directory
(using a Site relative path). From there I should be right, but I
can't seem to find any references to how this can be done using
Javascript or JSP.

If anyone can help me I would greatly appreciate it.

Regards
Linda

Jan 25 '06 #1
2 3174
Linda wrote:
I'm not too sure if this is the right place to post my question - or if
I should go to a JSP group. Anyway here is my question.


JavaScript and Java Server Pages have four things in common - The letters
"J", "A", "V" and "A". So this is the wrong place to ask.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jan 25 '06 #2
Linda wrote:
Hey all,

I'm not too sure if this is the right place to post my question - or if
I should go to a JSP group. Anyway here is my question.

I am looking at finding/ making an online dynamic photo album which
uses JSP. I've seen a lot of examples using PHP and a few online
albums using Javascript, however those albums using JavaScript are not
dynamic - the images are hard coded.

My scenario is this, we have about 6 different events with about 150
photos each. What I would like to happen is to be able to have a index
page which lists 10 photos each, and when you click on the photo to be
taken to a secondary page with a larger image. I would like to do this
without needing to create 150 dependant pages.

I understand that we will be looking at using server side technology.
As our pages already use JSP we don't want to add a second server side
language (PHP, Pearl etc...) to the equation.

So does anyone know of a script that may already do this?


JavaScript is not the best solution here, keep it all on the server.

[...]
--
Rob
Jan 25 '06 #3

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

Similar topics

1
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',...
4
by: .: DeVa :. | last post by:
Need recomendation for script that would dynamicly create thumbnails from pictures in certain directory, and automaticly genreate link to original pictures... Tuts are also welcom... TNX. ...
34
by: Ian Rastall | last post by:
I'm doing a small project right now where I create a table from a database. This is the code, which Dreamweaver, for the most part, has written: *** <?php mysql_select_db($database_tdream,...
3
by: frizzle | last post by:
Hi there, I've posted the following question elsewhere, but got no response, and there seems to be no special htaccess-group, so i took the liberty to post it here. Hope y'all dont mind. I...
5
by: Joseph Ellis | last post by:
Hello all. I have a family website that I have been maintaining for the past year and a half or so. It includes a photo album that has grown quite large. So far I've displayed the photo album...
5
by: fraser | last post by:
Hi, I have a photo gallery with cat photos here http://mouserspage.cjb.net From the beginning, I have been making each page of thumbnails, with a separate page for each photo, entirely in...
1
by: eldridge.brian | last post by:
I am very new to php, but eagerly picking it up. Thanks in advance for any assistance. I have a site I am working on that uses "PHP frames" - url is like http://www.xyz.com/home.php?page=photo ...
2
by: David Griffiths | last post by:
Hi All Using VB 2005 I have been tasked with creating simple Photo Album page on our local intranet server that can display Thumbnails and then the full picture once the thumbnail is clicked...
1
by: w33d5 | last post by:
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...
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?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.