Skip to content

Mostafa-Yusuf/froala-image-uploader-example

 
 

Repository files navigation

Froala image logo

Froala image uploader

The supporting SDK and editor source files are being installed using composer in this example. You can download those directly from https://github.com/froala/wysiwyg-editor-php-sdk and https://github.com/froala/wysiwyg-editor into your project folder and update the path to files respectively.

Dependencies

PHP version >= 5.4.0 is required.

The following PHP extensions are required:

  • fileinfo
  • imagick

Note: imagick extension is requried for resizing the image on the server-side, if you will not use it and don't want to enable it you can remove it form "project folder/vendor/froala/wysiwyg-editor-php-sdk/lib/FroalaEditor.php" file.

Steps to run the project

  • Download the files in to the project folder in a server enviornment supporting PHP
  • Run command composer install to install Froala SDK and editor source dependecies.
  • Open project in browser to see the results
  • Note: In this example we are using https://cors-anywhere.herokuapp.com/ to enable uploading images from external URL. In production you need to change this to the proxy server you are using. for testing you have to do the following steps:

Documentation

Main features ✅

  • Upload from device, drag-and-drop or external URL.

  • Image Manager Included. Froala Image Manager

  • Support Amazon S3 uploads.

  • Image previews.

  • Progress updates.

  • Looks nice in any form. The placeholder image can be any image from your choice. Froala Image placeholder

  • Image resizing. Froala Image Resizing

  • File validation and error handling.

Froala Image validation

  • Well tested

License

The Froala image uploader is licensed under MIT license. However, in order to use Froala WYSIWYG HTML Editor for other propuses than image uploader, you should purchase a license for it.

Help

About

Sample PHP application demo for Froala Image Uploader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%