Comments (6)
OK I found the problem. It's not from your bundle, but I did not think so. :-)
It's from another bundle which imports a jquery version and there was a conflict.
Thank you for your help and continue your good work with this bundle.
from comurimagebundle.
Hi,
Can you try to use master ? 1.0.* is not the latest release.
If it's not ok, can you check if you don't have another error before Uncaught TypeError: $(...).fileupload is not a function and before clicking on edit button ? I think maybe you include jquery at the end of your document and croppable_image_modal.html.twig needs it because of other depending libraries.
You can also try to use include_jquery / bootstrap to check if error is related to this and not including them by yourself ?
from comurimagebundle.
Hi,
Thanks for answer. Unfortunately, I tried to use dev-master, no effect. I include jquery and bootstrap and not myself, no effect.
Here is a part of HTML page :
<!-- The jQuery script, can be omitted if jQuery is already included -->
<script src="/bundles/comurimage/js/jquery.js"></script>
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
<script src="/bundles/comurimage/js/jquery.ui.widget.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="/bundles/comurimage/js/jquery.iframe-transport.js"></script>
<script src="/bundles/comurimage/js/jquery.fileupload.js"></script>
<script src="/bundles/comurimage/js/jquery.Jcrop.min.js"></script>
<script src="/bundles/comurimage/js/jquery.color.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/holder/2.5.2/holder.min.js"></script>
<script src="/bundles/comurimage/js/bootstrap.min.js"></script>
<!-- ComurImageBundle script. Do not remove this -->
<script src="/bundles/comurimage/js/comur.imagelibrary.js"></script>
I don't include jquery and bootstrap myself but it's not working.
I have no other error. It's very weird...
Have you another idea ?
from comurimagebundle.
And do you have any 404 in loaded files / scripts ? Can you check in inspector that you have all files successfully loaded ?
from comurimagebundle.
I think it's the same problem as #53 maybe related to jquery ui
from comurimagebundle.
No 404 error in loaded files / scripts as you can in this capture.
I have already include jquery-ui file.
Maybe a problem of version ... ?
from comurimagebundle.
Related Issues (20)
- Remove dependency on dev/master of jms/translation-bundle HOT 1
- JSON Parse Symfony 3 HOT 1
- Does the bundle support ajax? drag and drop feature?
- Unexpected token U in JSON at position 66 HOT 1
- data.result.image_upload_file is undefined in comur.imagelibrary.js:67:1 HOT 1
- How to upload a simple Image widget with ComurImageBundle? HOT 1
- unable to upload on php7.1 due to notice HOT 3
- Support of Symfony 4.0 HOT 3
- how upload image to database any help please!! HOT 1
- Nothing happens when selecting an image HOT 1
- Can we have a new release? HOT 1
- Add alt text for image
- Symfony flex support HOT 3
- Support Symfony 5.x HOT 13
- Remove dependency on jms/translation-bundle
- Remove dependency on deprecated module twig/extensions
- composer command not installing ComurImageBundle HOT 1
- Any plans to keep updating?
- conflict with requirements symfony form (composer) HOT 1
- Amélioration du module HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comurimagebundle.