Hello,
I new to using drupal (6.9) and very interested in getting it up and running
(in test, not published to the world, just trying to learn how to use drupal)
After searching the forum and using Google in all possible ways I cannot find a solution to my problem
(and all of this for a couple of days and a few new installations from scratch)
I installed the Image module (image-6.x-1.0-alpha4) and one thing I cannot get configured is the import path for image import.
My file system path is: sites/default/files
and the temporary directory is: /tmp
During instalation of the image import I got confirmation to the creation of the folders "images" and "tmp". (so far all ok)
enabled image attach (no problem)
enabled image galery (no problem)
enabled image import and here I have a problem with the import path. (I enable bit by bit in the modules)
Created a map "import" in "image" (files/image/import) and tried to save the configuration with
/image/import/ > directory does not exsist
image/import/ > directory does not exsist
Created a map "imports" in "images" (default/images/imports) and tried to save the configuration with
/imports/images > directory does not exsist
imports/images > directory does not exsist
Created a map "image" in the tmp map created during the installation of the image module.
sites/default/tmp/image
/tmp/image/ > directory does not exsist
tmp/image/ > directory does not exsist
all maps are set to 777
Besides this description of my attempts I tried several other combinations and creations of maps but withoud success. :-(
Can anyone help me please?
(I don't seem to understant how to get this working besides the effords of a lot of people describing their solution to this problem)
Kind regards,
Peter
Comments
Solved the problem but on a
Solved the problem but on a way I have not read anywhere...
Changed the import path to:
sites/default/files/images/temp/
Peter
Import path for 'Images'
@ pebe
Image import path solution works for me too!
In other words - change the import path to:
sites/default/files/images/temp
Cheers!
THANK YOU!
Worked for me too, Peter! Thanks!
Thanks Pete
It works for me too! thanks for the time that you spend working around this issue.
Another thanks, Peter.
Spent several hours going through the forums and clicking through options trying to find a solution to the directory does not exist message.
Thanks for your simple solution, Peter.
Slash changed after update.php run, the old /tmp/images issue
Thanks Peter!
During one of our new site updates the image module> image import path changed to: /tmp/image ... & started reporting the folder doesn't exist.
I was messing with this for a good 20 minutes; removing the fwd slash, changing permissions, etc.
I found your post, changed it to: sites/default/files/images/temp/ and wallah, its fine now.
I locked the changes/permissions too.
Not sure why the fwd /slash was in there just from an update.php run, but it doesn't belong there.
I'm making sure that's Duly noted for any future issues.
-Mike
Import Images
Thanks Peter!!
Problem Solved
Chalk up another triumph for your advice and another grateful web builder new to Drupal
Thanks!
Looks like the solution you discovered works for me too. Much obliged.
Different Solution
I followed the link, and came up with a slight varation on the alternative solution.
Issue:
- I was unable to get Images to recognize the image folder, or any other
- img_import would also not recognize any folder destination I gave it .... and yes, they did exist
- I was also being prompted to write an .htaccess file in the files folder, and line 192 of some other file was kicking an error .... supposedly
I changed permissions on everything umpteen times, no resolution.
I had to enter a different folder name under 'file system', save, delete the original 'files' folder I'd created during setup, then reset the 'file system' to the original 'files' path it had, and voila!
Images: saved the default configuration, and the images and images/tmp folders were made
img_import: worked as well
To me, this points at a bug in the file system settings as opposed to anything else, but I'm really not sure what.
/tmp/image
hi! your solution worked for me too...
it also worked for the same issue i was having with audio (/tmp/audio)
of couse i had to change images to audio though... sites/default/files/audio/temp/
and i had to go into cpanel sites/default/files/images/ and add the temp folder first...
thank you so much for posting cause i have spent a very long time trying to figure this one out !!
The directory /tmp/image does not exist.
changing the path to
"sites/default/files/images/temp/image" and creating the "/image" solved my problem
the permissions must be set 777 and i hope this is not creating any security problem