diff options
author | Bradley Taunt <bt@btxx.org> | 2024-02-02 13:05:54 -0500 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-02-02 13:05:54 -0500 |
commit | 13cec3d0fc257d0e65c9a1c06bfc71648722a506 (patch) | |
tree | aaf959aa898357abe14c45016a9071ce4d0587c0 /content/2021-02-18.md |
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 |