IMPORTANT, please fill the questions
We assume you are using Bitnami to deploy your application.
Which version of the application are you using?: LAMP 7.0.22-1 (64-bit)
Please choose how you got the application: Installer (Windows, Linux, macOS), cloud image (AWS, GCE, Azure, ...) or VM (VMDK, VBOX): Google Cloud Image
Have you installed any plugin or modified any configuration file?: I've installed ProcessWire Module 3.0.62-1
Describe here your question/suggestion/issue (expected and actual results):
When adding images to a Textarea field that are saved previously to a page they should appear within the editor. The current result is they only do sometimes, most fail to appear and are therefore not included in the Textareas output.
Steps to reproduce the issue (if relevant):
After uploading images to a page and saving the page - when you add them to a Textarea the pagespeed Apache module replaces the uploaded image with its own version and this breaks the Processwire API request which attempts to resize the image for display in the Textarea. If you check your Network tab you'll see the request to: resize?id=.... and the JSON response will indicate that the image wasn't supported.
The issue is fixed if you comment out the pagespeed module within /opt/bitnami/apache2/conf/httpd.conf
restart apache and the same images can be added to the Textarea as expected.