# Can not upload images via editor | froala error 500

**URL:** <https://forum.mautic.org/t/can-not-upload-images-via-editor-froala-error-500/28793>\
**Category:** Product Support\
**Created:** [August 1, 2023, 12:45pm UTC](https://forum.mautic.org/t/can-not-upload-images-via-editor-froala-error-500/28793 "2023-08-01T12:45:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![coaloa](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@coaloa](https://forum.mautic.org/u/coaloa)\
**Post date:** [August 1, 2023, 12:45pm UTC](https://forum.mautic.org/t/can-not-upload-images-via-editor-froala-error-500/28793/1 "2023-08-01T12:45:18Z")

</div>

**Your software**  
My Mautic version is: 4.4.7  
My PHP version is: 8.0  
My Database type and version is: MariaDB 10.3.38

**Your problem**  
When I try to upload an Image via the Editor, I get an error 500 from [froala.com](http://froala.com). Why is it even contacting froala?

![froala-upload-error-img](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/ff824a2805d9aaf1bf2f589b10a435cadd1daa86.png)  
 ![froala-upload-error](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/9cf604edaa6d503ed6054ee756eda1f694cbd569.png)

---

<div class="post-metadata">

**Author:** ![maks](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/maks/32/10483_2.png) [@maks](https://forum.mautic.org/u/maks)\
**Post date:** [September 12, 2023, 9:05am UTC](https://forum.mautic.org/t/can-not-upload-images-via-editor-froala-error-500/28793/2 "2023-09-12T09:05:24Z")

</div>

Have same problem. Is any solution?  
Why use a third-party service at all if I have my own server?

---

<div class="post-metadata">

**Author:** ![mauticdeveloper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mauticdeveloper/32/627_2.png) [@mauticdeveloper](https://forum.mautic.org/u/mauticdeveloper)\
**Post date:** [October 6, 2023, 11:47am UTC](https://forum.mautic.org/t/can-not-upload-images-via-editor-froala-error-500/28793/3 "2023-10-06T11:47:21Z")

</div>

There are two solutions to this issue.

1. Enable the grapesjs plugin it will replace the froala with ckeditor.
2. Change the code in file app/bundles/CoreBundle/Assets/js/libraries/froala/plugins/image.js  
Find code `imageUploadURL: 'https://i.froala.com/upload',` Replace it with `imageUploadURL: mauticBaseUrl + 's/file/upload',`
