Closed (duplicate)
Project:
Image
Version:
5.x-1.3
Component:
image.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2007 at 17:12 UTC
Updated:
26 Aug 2008 at 14:40 UTC
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
Comment #1
drewish commentedthis is a duplicate of http://drupal.org/node/156127 please test out the attached patch and follow on that issue.
Comment #2
redtrafik commentedI'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
Comment #3
drewish commentedit's for 1.3
Comment #4
marcocipri commentedhi,
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.
Comment #5
ddavidd commentedI 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.)
Comment #6
pjek commentedAfter 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.