Forums / Developer / Image not showing up in /variations

Image not showing up in /variations

Author Message

Eirik Alfstad Johansen

Wednesday 15 October 2003 5:41:36 am

Hi,

I'm having some trouble uploading images. I'm using the regular product class, and am trying to upload an image to the photo attribute. The photo is stored in ../var/site/storage/original/image, but not in ../var/site/storage/variations... and that's is the directory where the template seems to look for it.

Any idea why it's only placed in the original directory?

Thanks in avance !

Sincerely,

Eirik Johansen
Netmaking AS

http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Marco Zinn

Thursday 16 October 2003 1:15:58 pm

Do you use GD or imagemagick?
Is it a JPG or GIF or PNG?
Check in var/site/storage/reference and check, if there is a REFERENCE image of your original.
Did you change the image conversion rules (image.ini)?

Marco
http://www.hyperroad-design.com

Eirik Alfstad Johansen

Friday 17 October 2003 3:57:32 am

Hi Marco,

I use GD and the image is a GIF. There are no references in the references directory, and I have not changed any of the image conversion rules.

Thanks for trying to help me out !

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Alex Jones

Friday 17 October 2003 6:33:13 am

Eirik,

GD doesn't support the creation of GIFs unless you are running an old version of GD. As a test, try to upload a JPG to see if the image is created.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Eirik Alfstad Johansen

Sunday 19 October 2003 7:07:21 am

Hi Alex,

The same thing happens when I try to upload a JPEG, so that can't be it. Any other ideas?

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Alex Jones

Monday 20 October 2003 6:32:40 am

Hrrrrm... Could you turn on debugging and post the results from the upload screen? Hopefully that will reveal some more information.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Eirik Alfstad Johansen

Wednesday 22 October 2003 12:53:20 am

Hi,

Here's a copy 'n' paste of the debug before and after I try to upload an image (this time to the media section):

http://www.netmaking.no/image_upload_issue.htm

[REMOVED]Please note that after having upgraded to v. 3.2-2, I'm not able to upload images at all, even in the original folder, though 777 permissions are set.[/REMOVED]

[EDIT]The problem is still the same - the images are uploaded to the var/site/storage/original/image folder, but not the var/site/storage/variations nor the var/site/storage/references folder.[/EDIT]

Thanks in advance !

Sincerely,

Eirik Johansen
Netmaking AS

http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/