By jjjames on
Hello-
I have local Windows XP machines that have directories of images that I need to automate into nodes (imagefield/cck). Each machine needs to be tied to a drupal user. So images from each machine create nodes created by the different users. Each machine gets it's own gallery, so I will need a unique node_reference field for each one.
Not sure how to get the images from the local Windows XP machine into drupal.... Flex, Python, PHP?
Please let me know if you can help.
Thanks!
Comments
.
See http://drupal.org/project/imagefield_import
I'm assuming that drupal is
I'm assuming that drupal is running on linux local server :
1. mount the XP image directory under linux using samba
2. write php to read the directory content and pass them to database
--------------------------------------------------------------------------------------------------------
if you can use drupal why use others?
VicTheme.com
Thanks I'll check out that
Thanks I'll check out that import module! The XP machine is just a regular computer, and linux is on a webserver, so I can't mount them together.
Thanks!
you can, but
Samba is dog-slow over anything but a LAN. Depending upon the volume of images that you need to process, you may consider transferring the files to the webserver via ftp/sftp. imagefield_import expects that the files will be local to it.
There are other solutions involving virtualization and database/file copies but they're complicated and you need to get the image files to the physical webserver anyway :)
+1, if the files is shared
+1, if the files is shared between local server and workstation IMHO samba still better, but since the case involves internet like rernst said, FTP is the best solution.
I think another module called photo album can create image gallery from zip files. maybe its worth to look at :)
--------------------------------------------------------------------------------------------------------
if you can use drupal why use others?
VicTheme.com