Zen Cart Logo
Forums / Bug Reports / Unable to upload attribute images...

Unable to upload attribute images...

Locked

Views: 8,036

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
14 Aug 2007, 5:18 AM
#1
retrobec avatar

retrobec

New Zenner

Join Date:
Aug 2007
Location:
Boiling Springs, South Carolina
Posts:
43
Plugin Contributions:
0

Unable to upload attribute images...

I have all of my option names and values set up and attached to my products, but have been unsuccessful uploading images to display with the option values. Here's a link to one of my product pages: http://www.beckysharpdesigns.com/zc/index.php?main_page=product_info&cPath=2_3&products_id=30
I'm trying to add images for each of the necklace chain styles. If anyone has any ideas, please help!

14 Aug 2007, 5:42 AM
#2
shirster avatar

shirster

Zen Follower

Join Date:
Sep 2005
Location:
Hong Kong
Posts:
301
Plugin Contributions:
0

Re: Unable to upload attribute images...

Do you mean that you don't see the upload button at all or that your image folder is not writable? Go to admin -> configuration -> Attribute Settings -> Enable Attribute Images and set it to true. And make sure your images/attribute folder is writable.

HTH
Shirley :)

14 Aug 2007, 6:04 AM
#3
retrobec avatar

retrobec

New Zenner

Join Date:
Aug 2007
Location:
Boiling Springs, South Carolina
Posts:
43
Plugin Contributions:
0

Re: Unable to upload attribute images...

My attribute images are enabled and my attributes folder is writable...I just can't seem to get the images to actually upload to each option value. I uploaded the image onto my server into the Attributes image directory, then I typed in the file name where it says "Attributes Image Swatch" and hit "update" and nothing happens. It can't seem to find the image. I've also tried hitting "browse," but can't upload directly from my own computer.

Any more help would be great!

-Becky

16 Aug 2007, 3:24 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Unable to upload attribute images...

When you copied the image ... did you FTP the original?

What happens if you deleted it from the server and upload it the first time via your Zen Cart Admin and then start using the image name and Overwrite NO?

What version Zen Cart are you running?

Clean install or an upgrade?

Any add-ons?

16 Aug 2007, 3:28 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Unable to upload attribute images...

Scratch that ... you busted it now ... you went and found a ... a ... bug!!! :eek:

It suddenly dawns on me that I had to go in and add a new input for image names a couple versions ago to everything because the browsers/php/etc. stopped allowing text in the browser field ...

I like sort of forgot to do attributes ... :oops:

Moving this over to bug fixes ... :lamo:

16 Aug 2007, 3:31 AM
#6
retrobec avatar

retrobec

New Zenner

Join Date:
Aug 2007
Location:
Boiling Springs, South Carolina
Posts:
43
Plugin Contributions:
0

Re: Unable to upload attribute images...

I uploaded the original images using WINSCP because FTP wasn't working with my computer. I have tried deleting it from the server and uploading using Zen Cart Admin, Overwrite NO, but nothing seems to happen...NO IMAGE!

I'm running Zen Cart 1.3.7.1. No upgrades. No add-ons. I have had problems with missing PHP files in the past...I don't know if that would affect anything.

This is a mystery...maybe you can solve it.

Thanks
-Becky

4 Sep 2007, 3:08 AM
#7
retrobec avatar

retrobec

New Zenner

Join Date:
Aug 2007
Location:
Boiling Springs, South Carolina
Posts:
43
Plugin Contributions:
0

Re: Unable to upload attribute images...

If this is a bug problem that I'm having, does anyone know what I'm supposed to do about it? Do I need to reinstall Zen Cart? I believe I have the latest version already. It's really stressing out my customers that they can't see any images for my attribute options. And I still have not been able to upload any images at all. If anyone knows what I can do, please help!

-Becky

19 Sep 2007, 3:52 PM
#8
mtrois avatar

mtrois

New Zenner

Join Date:
Sep 2007
Posts:
1
Plugin Contributions:
0

Re: Unable to upload attribute images...

I'm facing the problem. Can anyone else confirm this. I have the same version as retrobec. Please help!

23 Sep 2007, 12:57 AM
#9
ekles avatar

ekles

New Zenner

Join Date:
Aug 2005
Posts:
73
Plugin Contributions:
0

Re: Unable to upload attribute images...

mtrois:

I'm facing the problem. Can anyone else confirm this. I have the same version as retrobec. Please help!

Oh it's a problem alright - question is - Is there a fix or work around available? - At this stage we have not been able to get past it but maybe the core Zen team knowns something we don't

9 Oct 2007, 9:20 PM
#10
retrobec avatar

retrobec

New Zenner

Join Date:
Aug 2007
Location:
Boiling Springs, South Carolina
Posts:
43
Plugin Contributions:
0

Re: Unable to upload attribute images...

At least I'm not the only one having this problem.

Here's what I've done in the meantime in case this helps those of you having the same problem. I designed a Photoshop doc with pictures of my attribute option values and made a link to the page using the "EZ-Page" utility in my Admin. To see it on my website, click here: www.beckysharpdesigns.com, then click on "View Chain Styles" near the top of the page.

10 Oct 2007, 3:44 AM
#11
retrobec avatar

retrobec

New Zenner

Join Date:
Aug 2007
Location:
Boiling Springs, South Carolina
Posts:
43
Plugin Contributions:
0

Re: Unable to upload attribute images...

After my last post, I decided to try uploading images one more time, and it worked! But not the way it's supposed to. I think I stumbled on to the answer by accident. Here's how you do it...

  1. Copy every image you want to use for your option values onto your server into the /images/attributes folder. It's important that you have the exact same file names on both your remote server and your local computer.
  2. Next, open the Attributes Controller in the Admin and select a product needing option value images. Select an option value to "Edit" or select an option name and value to add to that product.
  3. "Browse" your local computer for an "Attributes Image Swatch" and find the file name that exactly matches the one you copied to your server.
  4. Here's the strangest, but most important part: Select "No" for "Overwrite Existing Image on Server" And "No" for "Delete Image." If you check "Yes" for Overwrite Image, it will delete the existing file and put nothing there in its place. Similarly, if there is no file on the server to begin with, it still will not upload the one from your computer onto the server. I think this is where the bug exists.
  5. After selecting the image, click "Update," or "Insert" if you are adding a new option value, and presto! You will get a message at the top of the screen that says: "WARNING: FILENAME was updated but not overwritten." But a little yellow dot should appear next to the option value, meaning an image is there!

So, the only explanation is that the Admin uploads a filename from your computer and connects it with the image that's already on the server with that same name. Doing it any other way results in NO image, or the deletion of your image off the server.

It was amazing to open my website and actually see real images next to my attributes! I hope this works for everyone else having the same problem.

-Becky

16 Nov 2008, 11:54 PM
#12
susb8383 avatar

susb8383

Zen Follower

Join Date:
Feb 2008
Posts:
129
Plugin Contributions:
0

Re: Unable to upload attribute images...

Hi,

I'm using 1.3.8 and I had the worst time getting this to work too!

I tried using an FTP program to upload the images, but I couldn't do anything to get ZenCart to recognize it, not even the workaround in the previous post.

Finally got it working by making the attribute folder writeable and using the attribute controller to upload. Then I got the yellow dot.

So I guess for 1.3.8, using an FTP program doesn't seem to work.