GithubHelp home page GithubHelp logo

Comments (8)

sunhater avatar sunhater commented on May 22, 2024

In the master branch the problem is fixed (I think). You should have EXIF PHP extension.
1a498b5#diff-f768262c2320c8c757e824cc6c8b2e41
Could you try the current development version?

from kcfinder.

sunhater avatar sunhater commented on May 22, 2024

Hm... I tested it but still is slow...

from kcfinder.

sunhater avatar sunhater commented on May 22, 2024

I really want to leave image detection without pay attention on filename extension. Maybe I can limit file size, which can be detected as image.

from kcfinder.

tomaswindsor avatar tomaswindsor commented on May 22, 2024

My report was relevant to last released version (2.53).

I've just tested the current development version and it is still very slow. So far the patch I referenced works best for me.

Maybe you could try this as an alternative to getimagesize: https://github.com/tommoor/fastimage

from kcfinder.

sunhater avatar sunhater commented on May 22, 2024

Thanks! I have done it to the master branch and the performance is much better.

from kcfinder.

tomaswindsor avatar tomaswindsor commented on May 22, 2024

I can confirm the performance is fine now.

from kcfinder.

sunhater avatar sunhater commented on May 22, 2024

I tested on Linux server and fastImage cannot detect jpeg image. On my Windows desktop works perfectly. Reopening issue...

from kcfinder.

sunhater avatar sunhater commented on May 22, 2024

I solved it using a forked version of FastImage: https://github.com/pinleague/fastimage

from kcfinder.

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.