Title: ImageBase642File
Author: James Etu
Published: <strong>Òkúdù 8, 2021</strong>
Last modified: Ògún  3, 2022

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

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

# ImageBase642File

 Láti ọwọ́ [James Etu](https://profiles.wordpress.org/donjajo/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/imagebase642file.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/imagebase642file/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/imagebase642file/#reviews)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/imagebase642file/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/imagebase642file/)

## Àpèjúwe

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

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“ImageBase642File” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa
sí plugin yìí.

Àwọn Olùkópa

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

[Túmọ̀ “ImageBase642File” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/imagebase642file)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/imagebase642file/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/imagebase642file/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/imagebase642file/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/imagebase642file/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

v1.0.1
 Ìtumọ̀ Yorùbá: – Support for product post type

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0.1**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 4 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **10+**
 *  Ẹ̀yà WordPress ** 5.1 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.0.12**
 *  Ẹ̀yà PHP ** 7.1 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/imagebase642file/)
 * Àwọn àmì
 * [convert image](https://yor.wordpress.org/plugins/tags/convert-image/)[image](https://yor.wordpress.org/plugins/tags/image/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/imagebase642file/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

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

[See all reviews](https://wordpress.org/support/plugin/imagebase642file/reviews/)

## Àwọn Olùkópa

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

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/imagebase642file/)