![]() |
|
#1
|
||||
|
||||
Photo Album ScriptThis is kind of a strange review, but I have been pondering how to quickly and easily place a photo album onto a web page. I have come up with a really basic scripting idea that I am pondering making a front end to make it more user freindly.
Click on the Pittsburgh, PA link under http://www.dbcservices.com/cgi-bin/darrin/index to see how this looks. It is very simple (as I have no creative flair), but it does what I want. Basically, you call the same cgi script (C++ generated binary) and pass it a file and a possible page logo... The file for the above site looks like: Code:
But by writing a front end, I am hoping that the setup of a photo album could be quite easy. Anybody have any thoughts or comments? __________________
The best damn Sports Blog period. |
|
#2
|
||||
|
||||
|
You handsome devil, you!
Your data file looks like something that could actually been an XML file. Have you thought about that? __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
||||
|
||||
|
Quote:
No I haven't. I am famous for reinventing the wheel. I have never actually looked into XML at all. I liked this approach as all i need to do is place a small binary in the cgi-bin file and I can create instant photo albums. But that is what I wanted to know. Is this useless? __________________
The best damn Sports Blog period. |
|
#4
|
||||
|
||||
|
I wouldn't call it useless. It looks like just the sort of thing I would have done, before learning XML. :-D
I really like what you've done! |
|
#5
|
||||
|
||||
|
Quote:
You've just described the reason for XML's existence XML is a standard, so you can't go wrong with it if you ever wanted to share the data files one day. If the data was an XML file, I could re-produce the web page with PHP in under an hour. Someone with knowledge of parsing XML files with Java could probably do the same but perhaps for a device or even a mobile phone, etc. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#6
|
||||
|
||||
|
Well... I'm not to sure about XML, as I have absolutely 0 experience with it... Only some html and xhtml. The photo album looks really nice. It also looks like alot of work!
Thats why for me, as lazy as I am, I would just use Photoshop (for everything... no, I'm serious!) to compile all my images into an album. Photoshop CS has many presets that you could take advantage of by just downloading the trial version from Adobe's website http://www.adobe.com But it appears that you are already on top of things with that nice bit of work you've already done! 8-) |
Recent GIDBlog
Observations of Iraq by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| hello, photo album | dakedee | MySQL / PHP Forum | 1 | 21-Aug-2004 17:47 |
| Two virtual hosts, cgi script behaves differently on each | blimbo | Apache Web Server Forum | 0 | 04-Aug-2004 09:35 |
| JavaScript Tutorial Part 1 | pcxgamer | Web Design Forum | 2 | 01-Dec-2003 09:16 |
| sms web sender script | jrobbio | MySQL / PHP Forum | 1 | 11-Apr-2003 12:19 |
| VALIDATING file types on an PHP upload script? | JdS | MySQL / PHP Forum | 0 | 02-Jan-2003 07:58 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The