Hi,
That is the message I have after introducing a path to a local image file and submitting the image node. The Thumbnail appears with the message above: "You must upload an image."

Thank you for your help.
I'm testing image modules but till now no success in having one image on my website!!!

R

Comments

drewish’s picture

Status: Active » Closed (duplicate)

this is a duplicate of http://drupal.org/node/156127 please test out the attached patch and follow on that issue.

redtrafik’s picture

I've test the patch but it doen't work. And as I understand, the patch was for a 5.x-1.2 version of the module and I'm using the 1.3 from the beginning...

Could it be a problem with my files tree ? My drupal image module (and all the others) are installed in the public_html/modules directory and not in the public_html/sites/default one ?

Thx

drewish’s picture

it's for 1.3

marcocipri’s picture

hi,
verify the
upload_max_filesize
value in the php.ini config file...
if the file size exceed.....
Remeber, configure the upload module also, with the correct size.
ciao.

ddavidd’s picture

I just thought I would make a quick comment to clarify, as I had this problem and didn't understand what was said above until after I figured a solution out myself.

Essentially, Drupal doesn't prompt you when you attempt to upload an image that's too large. It just complains at you about how, "You must upload an image." The solution is to upload an image that's smaller, or change your php.ini file and the upload module to allow larger files (as mentioned above.)

pjek’s picture

After reading this I found the solution for my problem as well. I was getting the same message. In drupal 5.10 and image 1.9. I went through my PHP.INI file on my local WAMP installation and found out that my http file uploads where set to "off".

Made sense I thought because I had successfully used the image import feature several hours earlier. After setting my PHP.INI to "file_uploads: on;" it worked like a train. THanks for pointing me in the right direction.