Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 16th, 2005, 3:34 PM   #1
JDStud6
Programmer
 
Join Date: Jan 2005
Location: Charleston, SC www.wareonearth.com
Posts: 57
Rep Power: 4 JDStud6 is on a distinguished road
Send a message via AIM to JDStud6
picture viewer

I have taken some programming classes, mostly in Java. I am bored now and want to mess around with some HTML to make a picture website. I did it before (a few years ago) using frontpage. I now want to do it by coding HTML.

Today I made this site: http://home.comcast.net/~jdriesen/ as a starting point. I want to be able to click the links (I know they're not active, they're just for show) on the left side and have pictures displayed from the parties in the big frame. Is this a proper way to accomplish this? How could I go about creating the picture viewer. I was thinking of maybe writing a java applet that would just run through the pictures by clicking a NEXT button or something, or maybe learning another language. Any ideas?

Thanks,

JD
JDStud6 is offline   Reply With Quote
Old Nov 16th, 2005, 3:39 PM   #2
crazykid48x
Programmer
 
crazykid48x's Avatar
 
Join Date: Apr 2005
Posts: 96
Rep Power: 4 crazykid48x is on a distinguished road
edit: wow my post was wrong... wait a sec while i fix it

Last edited by crazykid48x; Nov 16th, 2005 at 3:55 PM.
crazykid48x is offline   Reply With Quote
Old Nov 16th, 2005, 3:43 PM   #3
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 3 Polyphemus_ is on a distinguished road
Using frames today is considered as a bad habit, but if you want to use frames, don't stop yourself . There are several approaches. A simple one is to just link to the image in the big frame. Another way is to use javascript in one frame, and program a 'next' and 'previous' button.
If you want to do it in an easier way, you could also make separate pages for every picture. Another approach is to use a server-side scripting language like PHP, and generate the pages automatically.
Polyphemus_ is offline   Reply With Quote
Old Nov 16th, 2005, 3:58 PM   #4
JDStud6
Programmer
 
Join Date: Jan 2005
Location: Charleston, SC www.wareonearth.com
Posts: 57
Rep Power: 4 JDStud6 is on a distinguished road
Send a message via AIM to JDStud6
Yea I thought frames were bad too, but it seemed like a good idea earlier today! It's not going to be just one picture for each link, but a set of pictures. So if you click on "Halloween 2004" it will be a folder containing like 50 pictures from the Halloween 2004 party. So I think crazykid48x's idea of quoting each picture would be a pain...I'd have to have a link for each picture. Too lazy for that.

I could probably make separate pages for each picture, but that's also a pain. The javascript or PHP idea sound better. Since I dont know either of them, sounds like some reading will be in my future. I actually did think of having a NEXT and PREVIOUS button and just have that scroll through the pictures. Would PHP or Javascript be better?

JD
JDStud6 is offline   Reply With Quote
Old Nov 16th, 2005, 4:34 PM   #5
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
You can get ready made image galleries for free all over the place.

No coding involved, you just create directories and put your images
in them, and the php does the rest.

I've heard this one is supposed to be pretty good. Customisable too.
http://spgm.sourceforge.net/
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote
Old Nov 16th, 2005, 5:34 PM   #6
a thing
Unverified User
 
a thing's Avatar
 
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0 a thing is on a distinguished road
^ I think the point of this is to teach the original poster how to make sites, not just make an image gallery.

I say just do it in XHTML and don't use anything else when you don't need to.
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted.
Got 'Nux?—GNU/Linux and other free software support.
It's GNU/Linux, not just Linux.
a thing is offline   Reply With Quote
Old Nov 16th, 2005, 9:33 PM   #7
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
If you already know Java, look into JSP. Should be a pretty natural fit.
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:08 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC