Closed (fixed)
Project:
Image
Version:
6.x-1.x-dev
Component:
image.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2007 at 23:01 UTC
Updated:
21 Jan 2010 at 22:51 UTC
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
Comment #1
drewish commenteddo you get any error messages?
Comment #2
manuj_78 commentedYes,
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.
Comment #3
ScarabMonkey commentedI 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.
Comment #4
mfbIn 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.
Comment #5
Hetta commentedmarked http://drupal.org/node/178291 as duplicate.
Comment #6
Hetta commentedComment #7
Hetta commentedmarked http://drupal.org/node/261895 as duplicate.
Comment #8
asb commentedHi,
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
Comment #9
sunThis issue will be closed in 2 weeks if no one disagrees.
Comment #10
candelas commentedthanks 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.
Comment #11
v8powerage commentedI 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…
Comment #12
keon commentedI 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 !
Comment #13
joachim commentedGreat!
Closing this, as it's working for you and nobody else has updated meaningfully in ages.