Hi,
I just upgraded my site to Dupal 5.1. Since the upgrade I have been unable to upload any image on to the site. When I try to add a image I just see the title of the image but the image does not show. I had a look at the log entries but couldnt find anything useful. i have img_assist enabled as well on the site.

Also look at http://drupal.org/node/112260 they have similar problem

Comments

drewish’s picture

Status: Active » Postponed (maintainer needs more info)

do you get any error messages?

manuj_78’s picture

Yes,
at last check ie friday the problem was still there.
I managed to figure out that if there is a space in the file name then I get this particular problem. if there is no space then it uploads properly.

ScarabMonkey’s picture

Version: 5.x-1.1 » 5.x-1.5

I have the same issue with uploading images on Drupal 5.2 and Image 1.5.

'You must upload an image' error appears when trying to create an image node.

mfb’s picture

In my case this was caused by a corrupt image_sizes variable. Mine looked like this:
Array
(
[0] => Array
(
[label] => thumbnail
[width] => 200
[height] => 200
[link] => 0
)

[1] => Array
(
[label] => preview
[width] => 640
[height] => 640
[link] => 0
)

[2] => Array
(
[label] => sidebar
[width] => 150
[height] => 150
[link] => 0
)

[3] => Array
(
[label] => videoplayer
[width] => 400
[height] => 300
[link] => 0
)

[new4] => Array
(
[label] =>
[width] =>
[height] =>
[link] => 1
)

[new5] => Array
(
[label] =>
[width] =>
[height] =>
[link] => 1
)

)

After deleting the variable and reconfiguring the image module, it looked like this:
Array
(
[_original] => Array
(
[label] => Original
[width] =>
[height] =>
[link] => 1
)

[thumbnail] => Array
(
[label] => Thumbnail
[width] => 200
[height] => 200
[link] => 1
)

[preview] => Array
(
[label] => Preview
[width] => 640
[height] => 640
[link] => 1
)

[sidebar] => Array
(
[label] => sidebar
[width] => 150
[height] => 150
[link] => 1
)

[videoplayer] => Array
(
[label] => videoplayer
[width] => 400
[height] => 300
[link] => 1
)

)

And things seem to be working.

Hetta’s picture

marked http://drupal.org/node/178291 as duplicate.

Hetta’s picture

Title: Unable to Upload Images » Unable to Upload Images: You must upload an image
Hetta’s picture

marked http://drupal.org/node/261895 as duplicate.

asb’s picture

Hi,

since upgrading to image module 5.x-2.0-alpha2 from 2008-Jun-16, I get the same error on all my D5 installations: adding an image via node/add/image fails with the error message "You must upload an image". No error show up in admin/logs/watchdog.

As far as I noticed, this error is new in alpha2; also quite strange: Attached Images are still working - currently the only way to get images on my sites.

Thanks & greetings, -asb

sun’s picture

This issue will be closed in 2 weeks if no one disagrees.

candelas’s picture

thanks for submiting this problem. it helped to me a lot.
i found that i had to go to the preferences of the image module and click the reset option for the images sizes and the problem left.

i found other problem that if you edit an image you have to upload or you losse the image.

v8powerage’s picture

Version: 5.x-1.5 » 6.x-1.x-dev

I have the same issue, load of images none of them works, I have no idea what can I do about this, I was updating from 4.7 trhu 5.20 to 6.x and nothing works… This module is handicaped from the very start, even title field in image-attach doesn't work as it should (I mean is optional which is intorelable), plus you can attach still only one image to the nodes, and no comment support, this module makes me feel that I regret I chose drupal at the first time, because it really do suck…

keon’s picture

I just got the same message (with the Image FUpload 6.x-3.0-rc2 module) : turned out that my hosting reached its disk quota, upgrading my hosting solved the issue.
So don't always look to far i would say :)
No regrets here .. all works just fine, and easier then ever before, thanks !

joachim’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Great!

Closing this, as it's working for you and nobody else has updated meaningfully in ages.