Forums / General Questions / Customer Image Uploads ?

Customer Image Uploads ?

Locked

Views: 15,493

Results 21 to 40 of 43
This thread is locked. New replies are disabled.
19 Dec 2008, 5:35 PM
#21
jalfrey avatar

jalfrey

New Zenner

Join Date:
Dec 2008
Posts:
2
Plugin Contributions:
0

Customer Image Uploads ?

Ajeh:

Add an Option Name, such as UPLOAD ... with the Option Type of: File

Then add the Attribute to the Product using the:
Option Name: UPLOAD
Option Value: TEXT [RESERVED FOR TEXT/FILES ATTRIBUTES ONLY]

The files will appear in the directory:
/images/uploads

And be numbered ... these numbers are NOT the orders_id they are the number of the Upload as they happen ...

This will correspond to the number in the Order that says the actual filename that the customer loaded to you ...

One last question on this topic. As described, the uploaded files are saved as 1.jpg, 2.jpg... Also as described, the order email lists the files as 1.image1.jpg,2.image2.jpg, where image1.jpg is the original, uploaded filename. Is it possible for the uploaded file to be named the same as the file listed in the order email: 1.jpg is uploaded and saved as 1.image1.jpg (again, 'image1' represents the original filename). Thanks.

20 Dec 2008, 6:30 AM
#22
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Image Uploads ?

Actually, the Order reads:
Option Name # filename.ext (price)

Example:

  • Logo Front: 1. color_blue.gif (+$0.25)
    • Logo Back: 2. color_green.gif (+$0.25)

The email reads the same way ... as does the My Account etc. etc.

Where do you see this so goobered up?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Jan 2009, 4:42 AM
#23
ykaldes avatar

ykaldes

New Zenner

Join Date:
Jan 2009
Posts:
39
Plugin Contributions:
0

Re: Customer Image Uploads ?

Ajeh:

Add an Option Name, such as UPLOAD ... with the Option Type of: File

Then add the Attribute to the Product using the:
Option Name: UPLOAD
Option Value: TEXT [RESERVED FOR TEXT/FILES ATTRIBUTES ONLY]

The files will appear in the directory:
/images/uploads

And be numbered ... these numbers are NOT the orders_id they are the number of the Upload as they happen ...

This will correspond to the number in the Order that says the actual filename that the customer loaded to you ...

I followed the instructions and made sure the permissions are 777. I tested it and no uploads to the image/uploads. Should I get a message confirming the upload?

8 Jan 2009, 2:56 PM
#24
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Image Uploads ?

It does not give any message, but when you hit the insert it should be adding to the:
/images/attributes

by default, unless you change the location ...

You might try testing loading an image to a Product to that directory to confirm it is working ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Nov 2010, 12:36 PM
#25
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Customer Image Uploads ?

hi,

i have followed these instructions:

dd an Option Name, such as UPLOAD ... with the Option Type of: File

Then add the Attribute to the Product using the:
Option Name: UPLOAD
Option Value: TEXT [RESERVED FOR TEXT/FILES ATTRIBUTES ONLY]

now when i click the text box it asks me to select an image, i do this... then nothing happens.
Should there be a submit button of some kind?

all i have showing is a text box and a browse button?
I installed tabbed products display so maybe there is some code missing?

8 Nov 2010, 1:52 PM
#26
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Image Uploads ?

And what happens when you add the Product to the Cart? Do you find a file has been added to the /uploads directory that is numbered? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Nov 2010, 2:31 PM
#27
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Customer Image Uploads ?

hi,

No, i select the image... the path of the image shows in the text box... click add to cart and the product goes to cart, nothing is uploaded via ftp.

uploads is set to 777

8 Nov 2010, 3:17 PM
#28
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Image Uploads ?

When looking in the /uploads directory via FTP ... be sure to refresh to see new files ...

In phpMyAdmin, if you browse the table:
files_uploaded

do you see the upload filename?

the file in the /uploads will be numbered with the files_uploaded_id plus the same file extension as the original file ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Nov 2010, 4:11 PM
#29
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Customer Image Uploads ?

it's coming up empty.
so it's not working at all which is odd.

I can only guess that there is some code missing perhaps?

8 Nov 2010, 6:16 PM
#30
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Image Uploads ?

What is the file extention that you are trying to test with on the upload?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Nov 2010, 6:36 PM
#31
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Customer Image Uploads ?

just a jpg file.
in settings it has it listed and has 2mb as the file limit. its just a tiny image.

8 Nov 2010, 7:56 PM
#32
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Image Uploads ?

Does the filename show up in the database table:
files_uploaded

when you add the product to the shopping cart?

Do you see the name of the file in the shopping cart on the Product when it is added?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Nov 2010, 4:09 AM
#34
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Image Uploads ?

Try the following:

1 turn off the SEO/rewrites ... does it work?

2 switch to the Classic Template ... does it work?

3 turn off the SEO/rewrites and switch to the Classic Template ... does it work?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Nov 2010, 3:35 PM
#35
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Customer Image Uploads ?

ok it seems seo url's is the problem.
If i turn it to false the uploader works.
any ideas how i could fix this? :)

9 Nov 2010, 3:39 PM
#36
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Customer Image Uploads ?

another thing i thought, the image is just called 1.jpg... and then i assume 2.jpg 3.jpg etc.
Will it tell me what file was uploaded when the order is placed?

So if im letting people upload pics to be printed onto custom tshirts for example will be able to tell which picture goes with which persons order?

9 Nov 2010, 4:26 PM
#37
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Image Uploads ?

While it will tell you on the Order the filename and the value of the image in the /upload ... you should really test making orders so that you are familiar with everything that the customer will see as well as what you will see and know how things work ...

NOTE: while it may appear that the upload file matches the orders_id ... this is not the case ... that will just be a coincidence ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Nov 2010, 8:07 PM
#38
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Customer Image Uploads ?

any ideas how i can get this to work with seo urls? :)

9 Nov 2010, 8:39 PM
#39
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer Image Uploads ?

You would need a valid SEO/rewrite for your site ...

You might look at the various add ons or the Contribution threads on this to find one that works ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Nov 2010, 10:19 PM
#40
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Customer Image Uploads ?

im unsure what you mean by a valid one?
i used the simple seo mod from the download section?