Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import images to Drupal 7 using feeds module [closed]

I have to migrate a custom (non CMS) website to Drupal 7. In the current website, some tables have image data that is stored as URL in the db.

I have tried the Feeds module with the Feeds Image Grabber addon, and also the Media Feeds plugin without success (for importing data as nodes).

Questions:

  1. Is there a way to import images from an (external) URL as 'images' into Drupal from a CSV file, using the Feeds module (or any other tool that allows both text and images import with mapping)?

  2. If not, is there a way to import them from Drupal's images library, also by the use of the Feeds module and/or Media Feeds plugins?

I have tried importing from CSV either by giving the full external URL path or the public://myimage.jpg path without success.

Thanks for any help on that!

like image 833
MrUpsidown Avatar asked May 25 '26 13:05

MrUpsidown


1 Answers

you are correct in identifying that the problem is due to the a space. Fyi: you can remove spaces using the tamper plugin for feeds. Just select trim and enter a space in the required field. Instead of using public://image its also possible the enter the complete url from the site where you get your images, just remember to remove spaces.

like image 178
Chris Avatar answered May 28 '26 08:05

Chris