Zen Cart Logo
Forums / Customization from the Admin / Product Images will Not Upload from Admin

Product Images will Not Upload from Admin

Locked

Views: 2,564

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
23 Aug 2010, 7:34 PM
#1
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Product Images will Not Upload from Admin

Hi - I did find one other thread on this issue but no solution?

I am running ZC 1.3.9f (on yahoo and yes i know that's not great) and i am pretty new to all this but I was using a previous version without this problem.

In admincategories/product i can put in all the details of my product except the image. I have also tried putting the image in the images folder (although it is in includes/templates/classic/images and i think i can put it in the root/images folder) and then directing it to there and still nothing. I still get the same result - example

http://stripeyfrog.com/store/index.php?main_page=product_info&cPath=1_4&products_id=181

In the other thread they said that a lot of people where having this problem so assume there is a solution out there - under a lot of pressure time wise and not brave enough to try add on's like easy populate till i have a working site.

Thanks Guys

23 Aug 2010, 8:15 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product Images will Not Upload from Admin

shanesoine:

I have also tried putting the image in the images folder (although it is in includes/templates/classic/images and i think i can put it in the root/images folder) and then directing it to there and still nothing.No. The templates folder should only be used for template-related things. Product images don't belong there. Product images go under the main /images/ folder.

shanesoine:

http://stripeyfrog.com/store/index.php?main_page=product_info&cPath=1_4&products_id=181You're getting the "No image available" picture displayed because you've not got an image name stored in the database for your product, presumably because of the symptoms you described earlier. The No-image-available picture is working as designed. No need to change that part.

23 Aug 2010, 8:17 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product Images will Not Upload from Admin

shanesoine:

In admincategories/product i can put in all the details of my product except the image.So ... what exactly is happening? Is it displaying an error message on the preview screen telling you that it was unable to upload? Any other messages?
Is your /images/ folder set with writable permissions so that the store can put images in there?

23 Aug 2010, 8:28 PM
#4
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Re: Product Images will Not Upload from Admin

Hi thanks so much
There is no error message in the preview screen just the not avail image. Also put the image in in the correct folder but same result. Then tried loading image from attributes - still no luck.

23 Aug 2010, 8:42 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product Images will Not Upload from Admin

Maybe the server is configured to not allow uploads via PHP.
Maybe the permissions are wrong on the folders.
Maybe you've got the max-size set to something invalid.
Maybe there's something amuck with your browser.

Maybe you've got the wrong host. (Sorry, I know you're aware of some of their limitations.)

23 Aug 2010, 9:24 PM
#6
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Re: Product Images will Not Upload from Admin

I have double checked my folder permissions and have put the images in the correct image folder, when I try to upload from there on the string
https://www.stripeyfrog.com/store/images/categories/... I get the alt text but not the image. In the preview I get an image outline with the "broken teeth" in the top left corner - sorry not that techie. Pretty sure that in this case it is not yahoo as it was working before I changed to ZC1.3.9. The last time i was also using the ISBN number which is a string of 13 digits with an s at the end as my image name - could using this naming convention now be a problem?

23 Aug 2010, 11:26 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product Images will Not Upload from Admin

What type of images files are you loading? jpg? gif? bmp? tif? which ones are causing you problems?

(bmp and tif are NOT recommended, since they're a very POOR choice for use on websites ... and Zen Cart blocks them from being displayed)

23 Aug 2010, 11:33 PM
#8
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Re: Product Images will Not Upload from Admin

only jpegs - and have been back because one suggestion was that I had set bizarre image sizes in admin/images small are sized 115px by 115px which seems ok to me - desperate its a bookshop without images its a bit pointless.

23 Aug 2010, 11:35 PM
#9
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Re: Product Images will Not Upload from Admin

have also gone back to yahoo to confirm that they allow php uploads but pretty sure the answer to that is yes as it was working on the previous ZC version

23 Aug 2010, 11:39 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product Images will Not Upload from Admin

What happens if you do this:

a) Use FTP to upload the product image to the /images/ folder. In this example, I'll call it abc.jpg
b) Verify that it's there by using your browser to open it by visiting http://your_domain.com/images/abc.jpg
c) Now open your Admin area, and edit one of your products:
-- in the image section near the bottom of the page, there's an input field with the title of "Or, select an existing image file from server, filename:".
-- type "abc.jpg" (without quotes) in there
-- click Preview
d) What happens to the image on the next screen?
e) And if you click Update, does the image show on the storefront properly?

24 Aug 2010, 12:19 AM
#11
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Re: Product Images will Not Upload from Admin

ok put the image there - then double checked it was there but when i go thro my browser on either of these url's

https://www.stripeyfrog.com/images/...jpeg
https://www.stripeyfrog.com/store/images/..jpeg

I get the following
Sorry, the page you requested was not found.

Additionally, a 410 Gone error was encountered while trying to use an ErrorDocument to handle the request.

When I load from admin/categories & products and go to the preview page I can see an image outline - with the "broken teeth" in the top left hand corner - which as i recall is a broken link. On the site it shows as alt text but no image?

What am I doing wrong?? Feel desperately THICK

24 Aug 2010, 12:28 AM
#12
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Re: Product Images will Not Upload from Admin

Got this from admin/server info - so it must be something I am doing. Thanks so much for the help - could just scream!

Server Host: stripeyfrog.com (68.180.151.76)
Database Host: mysql (10.10.10.10)
Server OS: FreeBSD hostingprod.com 4.11-YAHOO-20080312 FreeBSD 4.11-YAHOO-20080312 #0: i386 Database: MySQL 4.1.14
Server Date: 08/24/2010 00:21:11 Database Date: 08/23/2010 17:21:11
Server Up Time: Unsupported HTTP Server: Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.6b FrontPage/5.0.2.2510 mod_fastcgi/2.4.2
PHP Version: 4.3.11 (Zend: 1.3.0) PHP Memory Limit: 20M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 50M POST Max Size: 50M
Database Data Size: 917 kB Database Index Size: 873 kB

24 Aug 2010, 12:32 AM
#13
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Re: Product Images will Not Upload from Admin

and this is really weird I think - if i go to dbase utilities in yahoo manage get this

MySQL Database Status
Your database is active. To learn more about MySQL, please see our online help center.

Disk usage: 0.0 MB
Last backup: 05/26/2010 07:48 PM GMT
Last restore: No restoration has been made. [ Restore now ]
Last repair: 05/27/2010 03:21 PM GMT

Am i crazy surely there should be some disk usage??

24 Aug 2010, 1:14 AM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product Images will Not Upload from Admin

They might have an error in how they're reporting their MySQL details.
I don't know for sure. You should ask them.

24 Aug 2010, 1:16 AM
#15
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Re: Product Images will Not Upload from Admin

I'm sorry but one last question - should I carry on adding products in the desperate belief I will sort out my images problem or will i only compound the problem?
Also checked the site in ie browser and it is now sure that it is a matter of not accessing the image file.
Thanks for all the help.

24 Aug 2010, 1:16 AM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product Images will Not Upload from Admin

What if you use .jpg instead of .jpeg ?

24 Aug 2010, 1:39 AM
#17
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Re: Product Images will Not Upload from Admin

You are wonderful cannot thank you enough for your patience - thrilled can finally go to bed its nearly dawn!

Here I go again my one more question - i have marked post/zip code to 0 in admin but it is still a required field in the registration form. Managed to get rid of company fiel by same method - as usual sure it's something I am missing?

24 Aug 2010, 1:45 AM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product Images will Not Upload from Admin

If you're talking about the red * next to the field on the form, you have to remove that manually by editing the language files.

24 Aug 2010, 2:02 AM
#19
shanesoine avatar

shanesoine

Zen Follower

Join Date:
May 2010
Posts:
125
Plugin Contributions:
0

Re: Product Images will Not Upload from Admin

Great seem to have that more or less under control - and once again many many thanks

24 Aug 2010, 2:13 AM
#20
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Product Images will Not Upload from Admin

Best of success to you.