At least on a server which has php running as the user (with suPHP), could the Asset Import module auto-create the 'images' and 'images/import/' folders?
Drupal does this by auto-creating the 'files', 'images', 'images/temp', 'files/pictures' folders when php is running as the user (not when php is running as the webserver) and when the respective modules are enabled and the module links are clicked under 'Site Configuration'.
Comments
Comment #1
wmostrey commentedI wonder: why? The asset module handles any type of file, not just images, so creating an image folder seems a bit off. The asset_import module (which is not enabled by default) can import the files from anywhere in the filesystem so I don't see a need to force an
asset/importfolder. A user can create any directory from within the asset wizard so I don't think there's a reason to do this.Let me know what you think about it, but I'm tended to mark this as "won't fix".
Comment #2
venkat-rk commentedOkay, I understand the logic behind the module now.
However, the onscreen message when you click on 'Asset import' under 'Site Configuration' refers to
files/images/import. I don't remember exactly what the rest of the message said, but I felt new users could be confused about what to do. May be I am wrong.Comment #3
wmostrey commentedWell this path is set at
admin/settings/asset_import. When you first visit the import page, you should get a link to this settings page to set the correct directory. Could it be that you went to this url and clicked "save"?Comment #4
wmostrey commentedComment #5
jamescarvin commentedI can't remember how I did my installation of the images import module at this point. It was last month. But I get the error message "The directory files/images/import does not exist."
I checked my directory and see that under drupal I have files/images but there is no import file in the images directory.
Did I install this wrong? If so, how do I uninstall it and start from scratch?
Comment #6
venkat-rk commentedjamescarvin, I think the way this works is that the import directory has to be created if you don't already have the image.module and its image.import module installed.
Comment #7
wmostrey commentedThere's no need to reinstall any module. You can create those directories yourself, or change the path at
admin/settings/asset_import.Comment #8
wmostrey commentedComment #9
wmostrey commentedThis is in fact a bug, it's a left-over from the image import module.
Comment #10
wmostrey commentedThis has been fixed on dev: http://drupal.org/cvs?commit=129523.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.