From 13cec3d0fc257d0e65c9a1c06bfc71648722a506 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Fri, 2 Feb 2024 13:05:54 -0500 Subject: Initial commit for cgit platform --- content/2021-02-18.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 content/2021-02-18.md (limited to 'content/2021-02-18.md') 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 -- cgit v1.2.3-54-g00ecf