Hello all,

I am running drupal 4.7.3, and image.module,v 1.197.2.2 2006/07/18 14:00:52 walkah.

I have set one custom size in settins>image (standard, width=250).

When I upload, I receive the following error at the top of the page: "The selected file path-to-/files could not be copied". No error is submitted in the log. If I do not have a custom size, I have no problem uploading images. The image, the preview and the thumbnail all appear fine, and I can see them in the files/images directory where they are uploaded. However, no image.standard.jpg is created.

I have done the following: changed all /files, /temp, /files/temp to chmod: 777. I have tried to upload with both private and public drupal file settings. I have also disabled attachments (see http://drupal.org/node/72600).

Any suggestions?
Thanks ahead of time,
Maria

Comments

mariagwyn’s picture

Any help on this? Please?
Thx,
maria

logictude’s picture

In your notes you mention:

"standard, width=250"

Does that mean you didn't include a height or put in both 250 for width and height? I'm just curious.

mariagwyn’s picture

Logictude,

That is precisely what I did, which seems to be the problem. I thought I had read that if you set only one dimension, the other will dimension will be proportional to the original size. For my site, width is the most important.

So, I uploaded with both width and height set, which solved the upload error, but it created the problem that the image was shrunk so that the largest dimension was 250, rather than the smallest. So, I did a bit of snooping on the site, and found this node and patch: http://drupal.org/node/59007. I applied it, and so far, everything seems to be working. I have my cake and am eating it!

So, I am setting this to 'fixed' since it was only a bug in my rather small universe. Thanks for responding though, your question spurred me to explore more, and figure out the problem.

Thanks,
Maria

mariagwyn’s picture

Status: Active » Closed (fixed)

Logictude,

That is precisely what I did, which seems to be the problem. I thought I had read that if you set only one dimension, the other will dimension will be proportional to the original size. For my site, width is the most important.

So, I uploaded with both width and height set, which solved the upload error, but it created the problem that the image was shrunk so that the largest dimension was 250, rather than the smallest. So, I did a bit of snooping on the site, and found this node and patch: http://drupal.org/node/59007. I applied it, and so far, everything seems to be working. I have my cake and am eating it!

So, I am setting this to 'closed' since it was only a bug in my rather small universe. Thanks for responding though, your question spurred me to explore more, and figure out the problem.

Thanks,
Maria

logictude’s picture

Excellent. Good hunting.