Giter Club home page Giter Club logo

Comments (6)

anthonyherve avatar anthonyherve commented on August 18, 2024 2

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.

comur avatar comur commented on August 18, 2024

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.

anthonyherve avatar anthonyherve commented on August 18, 2024

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.

comur avatar comur commented on August 18, 2024

And do you have any 404 in loaded files / scripts ? Can you check in inspector that you have all files successfully loaded ?

from comurimagebundle.

comur avatar comur commented on August 18, 2024

I think it's the same problem as #53 maybe related to jquery ui

from comurimagebundle.

anthonyherve avatar anthonyherve commented on August 18, 2024

No 404 error in loaded files / scripts as you can in this capture.
loaded-files

I have already include jquery-ui file.

Maybe a problem of version ... ?

from comurimagebundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.