kukrik/qcubed-croppie

QCubed v4 plugin for Croppie

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:qcubed-library

dev-master 2024-09-12 16:33 UTC

This package is auto-updated.

Last update: 2024-09-12 16:33:33 UTC


README

Croppie and PopupCroppie for QCubed v4

This QCubed plugin utilizes the Croppie plugin: https://foliotek.github.io/Croppie/. Croppie is a fast, easy to use image cropping plugin with tons of configuration options.

Croppie is a fast and easy-to-use image cropping plugin with many configuration options! The goal is to create a simple core library that can be customized and extended. The homepage of the library is here, and a demo can be found here where you can see usage examples.

Here are some examples. On the left side is the standard solution - Croppie, which you can further extend yourself. On the right side is a customized solution - popupCroppie, where we try to dynamically and conveniently use real-time image resizing with dimension overwriting, switch between circle and square, rotate the image left or right, and save.

Note: Please create additional folders in the "examples" directory for testing purposes. You can save and explore files in these folders. A simple PHP upload function has been created, but controls have not been fully developed. It is up to you to further develop them.

Image of kukrik

|_ upload
    |_ Home
        |_ test
        |_ test 2
    |_ More
    |_ Organisation
    |_ Varia

|_ tmp
    |_ _files
    
        |_ large
            |_ Home
                |_ test
                |_ test 2
            |_ More
            |_ Organisation
            |_ Varia
            
        |_ medium
            |_ Home
                |_ test
                |_ test 2
            |_ More
            |_ Organisation
            |_ Varia
            
        |_ thumbnail
            |_ Home
                |_ test
                |_ test 2
            |_ More
            |_ Organisation
            |_ Varia

This plugin is still being implemented

If you have not previously installed QCubed Bootstrap and twitter bootstrap, run the following actions on the command line of your main installation directory by Composer:

    composer require twbs/bootstrap v3.3.7

and

    composer require kukrik/qcubed-croppie
    composer require kukrik/bootstrap