I've installed Image.Module following all the documentation I could find. I ran into some errors when attempting a slow directory upload. So I decided to try fast directory upload instead.
Then I startred getting errors along the lines of the following:
warning: rename(tmp/tmpthumb_junglebridge.jpg,Images/thumbs/thumb_junglebridge-17.jpg): No such file or directory in /www/.../htdocs/modules/image/image.module on line 827.
(this error leads me to believe I forgot to change a line in the image.module file, but it was never stated to change anything so I didin't)
I went ahead and moved my thumbs folder and my tmp folder to my htdocs root and double checked the permissions and this error stopped happening.
Now when I go into my thumbs folder, the images are listed however the tmp folder remains empty. Nothing shows up on the preview image screen after the fast upload, or even in the galleries. I'm completely stuck at this point. I'm running into a sore lack of documentation for Image.Module. I can't find a website for it or anything.
I've also been having trouble with the search feature for the forums. Its very difficult to locate information when you cannot put your search terms in quotes for an exact match. I've been having to wade through page upon page of posts where part of my string will match part of a post. I had tried to enter the exact error phrase (which included the word "an") and it came back with hundreds of results for every word that had the letters AN in them.
Is there a way to contact the developer of this module or find a more in depth troubleshooting/FAQ for it? Does such a thing even exist? Drupal has been fairly straightforward so far but I'm starting to hesitate on reccomending it to any of my less techy friends/family for fear that they may run into a problem that is not documented and be stuck unable to find any help with/for it.
Could this be a problem with Imagemagick? I've been sifting through my hosting provider's documentation on Imagemagick trying to find any tidbit that might lead me to a solution. Is that a waste of time?
Comments
From your post, i understand
From your post, i understand that you have set your directories and also mentioned their names in the settings. I hope you have also done chmod 777 for all the directories that has been created.
My image path under root is as follows
images/
images/thumbs/
images/tmp/
the above values should reflect in the settings too.
it works fine
--**--
krishna
Ok, after reading your post
Ok, after reading your post I went back and deleted all my old directories and dropped the old image table. Decided to start fresh and test it. I thought maybe since I was using my own custom paths, maybe it was causing a problem and that the code was meant to use the defaults.
I made the directories, changed the permissions all to 777, updated my settings, then attempted a slow directory upload of an image. I was taken to the "Submit Image" page with red text stating "Uploaded file was not an image." I was uploading a .jpeg which I know for sure is an image.
I checked my directories to see what files Image.Module created and found them all to be empty.
Here are the errors from Drupal's Logs:
warning: unlink(.): Operation not permitted in
/(path shortened)/htdocs/modules/image/image.module on line 673.
warning: getimagesize(): Read error! in
/(path shortened)/htdocs/modules/image/image.inc on line 30.
That's the same problems I was getting before. Any Ideas?
~Galaji
I had hard time installing
I had hard time installing image.module myself. But finally managed.
I had similar error messages as you have. And I had a problem with the image table in the database. I simply created an empty table called image, but in fact I should've filled up with empty with the image.mysql file.
How did you create the image table in your Drupal database?
---
http://creativebits.org
I created the table by using
I created the table by using the image.mysql script that game with the module. I *think* the database is working ok, as sometimes when I do a fast upload, images will be stored in my images folder, and the numbers added to the file names goes up as I continue to try uploads.
~Galaji
Did you fix the permissions?
Did you fix the permissions? mod 777?
---
http://creativebits.org
Yep, went through today just
Yep, went through today just for kicks and each file/folder Image.Module uses to 777 and still got the same error.
Try deleting the module and
Try deleting the module and the table from the database and start all over again. Maybe you missed a step or something???
---
http://creativebits.org
I see something
hi all
what i saw from the error message is that
warning: rename(files/images/temp/tmpthumb_1b.jpg,files/images/thumbs/thumb_1b-12.jpg): No such file or directory in f:\temp\drupal\modules\image\image.module on line 827.
as you can see the first name has a tmp added and i check in my disk and a file without this tmp exists so thats the question in my system i dont know if in yours is doing it and i dont know why is looking for the file with a tmp attached to the name in front
image module
thanks for the posts above to get me this far..
I have been trying to get image module working.
I have set up images, images/thumbs, images/tmp and set the paths.
Then set permissions on these directories to 777 and my image config is returning OK on all fronts...
then when try to upload picture I get:
warning: exec(): Bad shell command [usr/local/bin/convert -scale 480x480 -filter QUADRATIC 'images/tmp/tmpimg_icon_postgrad.jpg' 'images/tmp/tmpimg_icon_postgrad_640x480.jpg'] in /home/almaanet/public_html/news/modules/image/image.inc on line 318.
I am quite clearly picking this up as I go along, and this has got me foxed.
Any ideas where to go next..
much appreciated
If you are on a *nix system,
If you are on a *nix system, try path\convert instead of path\convert.exe.
With the image module, issue's are path or permissions.
-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Image modules
Thanks
I had that already in the ImageMagick path...
I'm now getting these messages..still stuck!
warning: unlink(images/tmp/tmpimg_icon_postgrad.gif): No such file or directory in /home/almaanet/public_html/news/modules/image/image.module on line 557.
warning: Division by zero in /home/almaanet/public_html/news/modules/image/image.module on line 1236.
Check the path to convert
From you log I see
Should convert no be /usr/local/bin/convert ? Is the first slash missing ?
Paddy
Paddy.
http://deburca.org
thanks but still problems
Thanks
i thought this could the be answer to my prayers this sunday but.. have changed it and following is now coming up to blight me..
warning: exec(): Bad shell command [/usr/local/bin/convert -scale 480x480 -filter QUADRATIC 'images/tmp/tmpimg_af1217d5d3b27b1da23ac441289c721b.gif' 'images/tmp/tmpimg_af1217d5d3b27b1da23ac441289c721b_640x480.gif'] in /home/almaanet/public_html/news/modules/image/image.inc on line 318.
my paths are :
Image path: images/
Thumb path: images/thumbs/
Temp path: images/tmp/
I can't find what else could be wrong...
could it be tmp path?
thanks
Do you have shell access to the host ?
If you have shell access to the host (ssh or telnet) and assuming that it is a unix host;
type the command 'which convert'.
This should return '/usr/local/bin/convert' or even '/usr/bin/convert'. Just make sure that the path are correct.
Paddy.
http://deburca.org, and http://amadain.net
Paddy.
http://deburca.org
/usr/bin/convert working
Thanks
I wasn't sure about shell access so just tried /usr/bin/convert
it worked
thank you
Imagemagick path in Windows XP
I was experiencing the same problem (in Drupal 4.5.2) until I read in another post that in Windows (XP at least) the path to imagemagick CANNOT have spaces.
That fixed the problem for me.
another image issue? 4.6.0
I'm working with 4.6.0 and having some problems stocking a gallery. Maybe there's something I'm missing?
I can upload and image using "create content" where it says "an image can be inserted into nodes or seen in image galleries. I have a category named "interns", and select this as the "album" in the pull-down menu where the file is selected. (personal is also enabled). In any case.. when I submit the image, an upload takes place, and the picture appears ONLY in my personal image gallery and isn't shared with others.
When I click to the gallery labeled "interns", it appears to be empty. When I click to edit the picture in my personal gallery, the taxonomy term shows the picture as being in "interns", though it is not. On the Outline menu, I notice that the image node is not in the book hiearchy. Is it supposed to be? Upload permissions are set appropriately I think. Any tips would be much appreciated.
Umm, this thread is for
Umm, this thread is for image module for 4.5. Are you using the 4.5 image module for 4.5 on cvs drupal? I am surprised it would work.
-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
thanks for the interest
Thanks for the interest. I wasn't shure where this should be posted. I'm working with the new 4.6.0 release and the image module included as default in that, and have not gotten to the cvs version.
image.mysql file
I downloaded the image module, but I can not find the image.mysql file. Does anybody have it?
There isn't one
This post is discussing the previous generation of the image module. The current version which you downloaded uses the existing Drupal tables (files in particular) to do the same job. Virtually none of what is written in this post will apply to the module which you downloaded.
- Robert Douglass
-----
http://www.hornroller.com/French_Horn_News
www.robshouse.net