Example of how we can use Foliotek/Croppie extension to upload and crop images on fly with javascript Live demo ! Html: <!DOCTYPE html> <html> <head>