Title: ImageBase642File
Author: James Etu
Published: <strong>8. Juni 2021</strong>
Last modified: 3. August 2022

---

Plugins suchen

Dieses Plugin wurde **nicht mit den 3 neuesten Hauptversionen von WordPress getestet**.
Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung
mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

![](https://s.w.org/plugins/geopattern-icon/imagebase642file.svg)

# ImageBase642File

 Von [James Etu](https://profiles.wordpress.org/donjajo/)

[Herunterladen](https://downloads.wordpress.org/plugin/imagebase642file.zip)

 * [Details](https://de.wordpress.org/plugins/imagebase642file/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/imagebase642file/#reviews)
 * [Entwicklung](https://de.wordpress.org/plugins/imagebase642file/#developers)

 [Support](https://wordpress.org/support/plugin/imagebase642file/)

## Beschreibung

This plugin converts base64 encoded inline images to an absolute URL by; uploading
inline image into WordPress directory. This happens when a post is saved.

It converts this:
 `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//
8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />`

To this:
 `<img src="https://site.com/wp-content/uploads/2021/05/post_title_id_no.
png" alt="Red dot" />`

I was working on an external editor to allow users to post on WordPress, this editor
embeds images in base64 encoded format. This makes post contents too long to load
on-page and also cannot be stored on buffer unless PHP is set to very high memory
usage.

This plugin converts the encoded base64 inline images to a link by scrapping out
the base64, decode, store to file and replace with the URL. The post content becomes
very short. This is over-engineered to prevent PHP memory limit when trying to copy
base64 encode to file. This plugin will perform each chunk copy on 76 characters,
76 bytes. This is the base64 line limit. There will never be an out of memory when
copying these images.
 And, it is faster than using regex

## FAQ

### Does this plugin support other post types?

Currently, no. Only page and post are supported

## Rezensionen

Zu diesem Plugin liegen noch keine Rezensionen vor.

## Mitwirkende und Entwickler

„ImageBase642File“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin
mitgewirkt:

Mitwirkende

 *   [ James Etu ](https://profiles.wordpress.org/donjajo/)

[Übersetze „ImageBase642File“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/imagebase642file)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/imagebase642file/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/imagebase642file/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/imagebase642file/)
per [RSS](https://plugins.trac.wordpress.org/log/imagebase642file/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

v1.0.1
 – Support for product post type

## Meta

 *  Version **1.0.1**
 *  Zuletzt aktualisiert **vor 4 Jahren**
 *  Aktive Installationen **10+**
 *  WordPress-Version ** 5.1 oder höher **
 *  Getestet bis **6.0.12**
 *  PHP-Version ** 7.1 oder höher **
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/imagebase642file/)
 * Schlagwörter
 * [convert image](https://de.wordpress.org/plugins/tags/convert-image/)[image](https://de.wordpress.org/plugins/tags/image/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/imagebase642file/advanced/)

## Bewertungen

Es wurden noch keine Rezensionen eingereicht.

[Your review](https://wordpress.org/support/plugin/imagebase642file/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/imagebase642file/reviews/)

## Mitwirkende

 *   [ James Etu ](https://profiles.wordpress.org/donjajo/)

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/imagebase642file/)