Web Design Forum: Uploading Images - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Uploading Images How can I let a client upload their own photos to a site I designed?

#1 User is offline   Demonolith 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 166
  • Joined: 07-October 08
  • Reputation: 0
  • Experience:Nothing
  • Area of Expertise:Designer

Posted 27 June 2009 - 08:00 PM

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.
0

#2 User is offline   Wickham 

  • Web Guru
  • View gallery
  • Group: Moderators
  • Posts: 2,682
  • Joined: 11-June 09
  • Reputation: 233
  • Gender:Male
  • Location:Salisbury UK
  • Experience:Intermediate
  • Area of Expertise:Web Developer

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>">
0

#3 User is offline   mr-shock 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 312
  • Joined: 27-October 08
  • Reputation: -16
  • Location:Newcastle upon Tyne
  • Experience:Beginner
  • Area of Expertise:Web Designer

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.
0

#4 User is offline   Tobes 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 258
  • Joined: 26-June 09
  • Reputation: 11
  • Gender:Male
  • Location:UK
  • Experience:Advanced
  • Area of Expertise:Web Designer

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

Attached File(s)


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users