Question

I have a problem importing a 64 base image through the feeds module. I am consuming a service through jsonpath.

I am using the tamper feeds module to try to decode the image and then save it as a file but I have not succeeded.

I get the data well in the attribute mapping between the service and the content type, but I can not get the feed tamper to decode it and save it as an image in the content type.

Is this possible to do?

Was it helpful?

Solution

Feeds Base64 images module

I have developed a module for this which adds two additional targets for file and image fields:

  • Filename
  • Base64

The 'Filename' target always needs to be mapped first.

I created this module years ago, but I never published it on drupal.org... until today!

https://www.drupal.org/sandbox/megachriz/2961717

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top