kirby-cropper icon indicating copy to clipboard operation
kirby-cropper copied to clipboard

edit:208 Uncaught TypeError: $image.cropper is not a function

Open jenstornell opened this issue 9 years ago • 2 comments

I don't use git submodule. I dropped the files into a field. Maybe it has something to do with it?

It gives edit:208 Uncaught TypeError: $image.cropper is not a function in the console log.

image

jenstornell avatar Feb 02 '16 07:02 jenstornell

You are missing the submodule of this repository. Download the Files from https://github.com/fengyuanchen/cropper

Your site/fields/cropper-Folder will have another cropper folder containing the files you find over at fengyuanchen/cropper

Pascalmh avatar Feb 02 '16 08:02 Pascalmh

I don't use submodule but I dragged the files from cropper into the folder and that solved this problem.

Now I have some new errors:

{
                        "filename": "background.jpg",
                        "url": "http://localhost/ekobyn.com/content/haha/background.jpg",
                        "root": "C:\wamp\www\ekobyn.com\content\haha\background.jpg"
                    }
VM9477:4 Uncaught SyntaxError: Unexpected token w(anonymous function) @ VM9470:34K.event.dispatch @ panel.min.js?v=2.2.3:4g.handle @ panel.min.js?v=2.2.3:4

So it's really required to download this with the submodule?

jenstornell avatar Feb 02 '16 08:02 jenstornell