WordPress.org

Support

Support » How-To and Troubleshooting » Importing XML with Base 64 encoded images?

Importing XML with Base 64 encoded images?

  • I see a number of plugins that allow for the import of xml files and remapping their values to wordpress elements (such as title, content, tags, etc) but I have not found a way to decode base-64 images (jpg) to an element that is insertable into the post (preferably as a feature-image).

    Anyone have any thoughts?

    I know I could right a shortcode and decode the base64 data at runtime, but I don’t want it to decode the image for each page view, but just once at import with the resulting jpg saved into the media library.

    Thanks.

  • The topic ‘Importing XML with Base 64 encoded images?’ is closed to new replies.
Skip to toolbar