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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
scroll top