A few months ago I designed this site for a client.
She has since asked me if it's possible for her to upload photos herself (similar to how a site such as flckr.
How can this be done?
She's unfamiliar with HTML and web design as a whole.
Page 1 of 1
Uploading Images How can I let a client upload their own photos to a site I designed?
#2
Posted 27 June 2009 - 08:24 PM
A CMS (content management system) is designed for untrained people to upload edits to a web page so that they can only edit certain things without wrecking the code.
Joomla is good but complicated (so I'm told); there are simpler CMS like snippetedit http://www.snippetedit.com/ which some say is too simple, but it does work for simple text and image edits. <snippet> and </snippet> tags are placed by you around urls or text so that someone else uses a username and password to access only within the tags. For images I would code the size inside the img tag but outside the snippet tag so that any size image uploaded will be resized, to stop a huge image wrecking the layout.
<img style="width: ???px;" src="<snippet>image.jpg</snippet>" alt="<snippet>Description</snippet>">
Joomla is good but complicated (so I'm told); there are simpler CMS like snippetedit http://www.snippetedit.com/ which some say is too simple, but it does work for simple text and image edits. <snippet> and </snippet> tags are placed by you around urls or text so that someone else uses a username and password to access only within the tags. For images I would code the size inside the img tag but outside the snippet tag so that any size image uploaded will be resized, to stop a huge image wrecking the layout.
<img style="width: ???px;" src="<snippet>image.jpg</snippet>" alt="<snippet>Description</snippet>">
#3
Posted 27 June 2009 - 11:51 PM
you can use a series of php scripts, free scripts, that you will find at www.hotscripts.com, what you will need is a php image hosting script, then a image gallery script, now once you have those you need to set the directory of were the images will go to, for an example we will say they go to "pics", now you need to set the gallery to read the images from the "pics" directory, then you implement the gallery into your website on the page you want the uploaded images to be shown, now there are some image gallery scripts that will auto make thumbnails and set them out for you, for an example the div that you placed the gallery code into, in this div all of the thumbnails will be placed, and in the config of the script you set how many images to display, the php should also render php pages, which arnt really pages its just when you click page 2, it will load the next set of images without having to be on a different page.
now, to stop people from uploading pictures, you will need to password protect the page that has the image upload script on it, make it upload.php or something then use something to password protect it, then you give her the password, and she can access and upload her pictures. simple.
its easier than implementing CMS.
send me a pm if you want to do it this way, i can help you find the scripts, i know this will work as i have done this myself, but i have not password protected a page before but i would think it is pretty streight forward, i can also help you implement the scripts into your pages if you are unfamiliar with php.
now, to stop people from uploading pictures, you will need to password protect the page that has the image upload script on it, make it upload.php or something then use something to password protect it, then you give her the password, and she can access and upload her pictures. simple.
its easier than implementing CMS.
send me a pm if you want to do it this way, i can help you find the scripts, i know this will work as i have done this myself, but i have not password protected a page before but i would think it is pretty streight forward, i can also help you implement the scripts into your pages if you are unfamiliar with php.
#4
Posted 30 June 2009 - 09:26 PM
firstly try a program called slideshowpro, if you use slideshowpro director with it, you can easily integrate a brilliant gallery and image upload functionality into the website, its completely skinnable 
http://slideshowpro.net
to password protect a page, put the page with your upload code into its own folder ie: /upload/index.php
then log into your host admin panel, and look for "password protect directory" or something similar, and you can then lock the directory, that will make sure no one but the people you want access the upload script.
best of luck.
Tobes
http://slideshowpro.net
to password protect a page, put the page with your upload code into its own folder ie: /upload/index.php
then log into your host admin panel, and look for "password protect directory" or something similar, and you can then lock the directory, that will make sure no one but the people you want access the upload script.
best of luck.
Tobes
Attached File(s)
-
Picture 3.png (22.06K)
Number of downloads: 1
Share this topic:
Page 1 of 1
Help


















