Skip to content

froala/froala-image-uploader-example

Repository files navigation

Froala image logo

Sample PHP application demo for using Froala Image Uploader to upload images to your PHP server. Download the demo and integrate it into your projects and give your users an awesome uploading experience.

Froala image uploader example

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:

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.

Documentation

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.

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.

Upload image from a url

  • Image resizing. Froala Image Resizing

  • File validation and error handling.

    Froala Image validation
  • Well tested

License

The Froala image uploader is free. However, in order to use Froala WYSIWYG HTML Editor for other propuses than image uploading, you should purchase a license before using it on your live projects.

Help

About

Sample PHP application demo for Froala Image Uploader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages