Hi,
I have a drupal installation with a view that shows a set of thickbox images. Everything works great: image_cache, thickbox, views, etc.
I need to upload some whole image folders contents quite often, and somebody recommended me to use the image_import.module.
After installing the image module, I update drupal, then switch on the image_import module and define the import folder for image_import containing some image files.
But when i select the images that I want to upload it creates a image node for each file, with its filename as title (without the extension) and the date of creation, but without the image!
Do you know what should I do for inserting automagically each file into the image field of the created image node?
Thank You in advance.
Lucas J. González
Lucas GR / 08.1.12 / 2:15 AM wrote:
But when i select the images that I want to upload it creates a image node for each file, with its filename as title (without the extension) and the date of creation, but without the image!
I think you stumbled upon permission issue. The image files uploaded from Drupal will be owned by Apache. Directory created within module will be the same. This image and permission thing has been bothering me so much I no longer use module for image but simply FTP + HTML instead.
El 0, A-NO-NE Music madflute@anonemusic.com escribió:
I think you stumbled upon permission issue. The image files uploaded from Drupal will be owned by Apache. Directory created within module will be the same. This image and permission thing has been bothering me so much I no longer use module for image but simply FTP + HTML instead.
Thank You for your help, Hiroaki.
Actually all images are owned by Apache. Indeed they are uploaded and the thickbox views are created with the rights sizes. But still don't get inserted into the created image nodes.
El 0, Lucas GR lucas@lucasj.es escribió:
Hi,
I have a drupal installation with a view that shows a set of thickbox images. Everything works great: image_cache, thickbox, views, etc.
I need to upload some whole image folders contents quite often, and somebody recommended me to use the image_import.module.
After installing the image module, I update drupal, then switch on the image_import module and define the import folder for image_import containing some image files.
But when i select the images that I want to upload it creates a image node for each file, with its filename as title (without the extension) and the date of creation, but without the image!
Do you know what should I do for inserting automagically each file into the image field of the created image node?
Thank You in advance.
Lucas J. González-- [ Drupal support list | http://lists.drupal.org/ ]
Well the reason why it didn't include the images was the 'image' type that i had defined.
After deleting this type, image_import will automatically create an 'image' type and create all the image nodes correctly. And adding al the fields that were included in the prior image type for avoiding mysql queries syntax errors.
The ugly part of all this is that thickbox is unable to show the images in a view as a presentation but does it as a bunch of single files (i.e. no next or prev buttons).
Could it be an incompatibility of thickbox with the image type created by import_module or is it simply my own clumsiness?