- Create Account

pimp my photoMorpher

Forums > PhotoMorpher > pimp my photoMorpher
Author
Message

1) animasana Group: Members
Posts: 3 Joined: 19 Aug 2006 Location: Geneva, Switzerland IP: 89.217.--.--
Hi there,
I was considering how this script may be expanded and become more easily used, with less code. I am, unfortunately, not a coder, but still love to think up ideas that seem logical, then leave the logic to those who can code! Here is my idea:

1. Store the images in an XML file with one of the child nodes being the "id". That way, the photos album/albums can be updated/created just by updating an XML file and adding the "base script" into the page you want to use.

2.  It may even be possible in the future to add a php file upload option which uploads your files to the server and auto-creates the XML file!

Anyhow, I dont know how keen you are on the idea, but I thin it would make a great addition to the photo album. All the best!

Stu.

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.109.--.--
These are probably both better done server-side...

1) That's be simple with PHP, pull in an XML file and convert ir to UL/LI for the script. To do it on the client side would mean building in an AJAX library which I feel is unneccessary bloat. Plus, having the images in a normal list means that old browsers can see 'em, too.

2) Er... that's a fine idea, but there are a lot of PHP uploader scripts out there already you can download and install! I don't see the need to write another :).

-  Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.