diff options
Diffstat (limited to 'content/2021-02-18.md')
-rw-r--r-- | content/2021-02-18.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/content/2021-02-18.md b/content/2021-02-18.md new file mode 100644 index 0000000..4234ff9 --- /dev/null +++ b/content/2021-02-18.md @@ -0,0 +1,12 @@ +# Disable Image to Base64 Conversion + +Some users[^1] may wish to host their imagery and media via a 3rd party source or simply want to avoid the heavy weight added with using base64 strings (~133%+ in size). + +To disable this feature, open your `_phpetite/_config.php` file and change the `images_to_base64` variable to false. + +```.php +// Activate or disable images to base64 strings +$images_to_base64 = false; +``` + +[^1]: Thanks to [Minor49er](https://news.ycombinator.com/user?id=Minor49er) for suggesting this option on [Hacker News](https://news.ycombinator.com/item?id=26175904)
\ No newline at end of file |