Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Archived

This topic is now archived and is closed to further replies.

LeeFoster

Image upload on Contact form

Recommended Posts

Has anyone added the option to upload images using the contact us form? 

I'd like to add a way for customers to send an image, for example if they receive an item damaged.

Share this post


Link to post
Share on other sites

I seem to recall an addon that add a number of options to the contact us page, though I can't recall its name. Maybe Super Contact, or something like that.

My old Links Manager addon has the code to upload an image. If you download it and look at the links submit file, you can see how it is done.

But it wouldn't be a big change to do that. Use the file command so the customer can browser their computer for the image and then change the form to store it. But be careful, hackers will really enjoy being able to upload things. You should, in the least, limit the files to image types. 

 


Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Share this post


Link to post
Share on other sites

×