Comments (8)
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.
Hm... I tested it but still is slow...
from kcfinder.
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.
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.
Thanks! I have done it to the master branch and the performance is much better.
from kcfinder.
I can confirm the performance is fine now.
from kcfinder.
I tested on Linux server and fastImage cannot detect jpeg image. On my Windows desktop works perfectly. Reopening issue...
from kcfinder.
I solved it using a forked version of FastImage: https://github.com/pinleague/fastimage
from kcfinder.
Related Issues (20)
- problem with requests via POST
- Kcfinder brower and uploader showing direct PHP code? Work in windows XAMPP but not mac XAMPP?
- to assign uploadfolder / usernamefolder / img
- [PHP 7.2] each() function is deprecated HOT 11
- Set Upload Limit and language
- "Incorrect server response" on upload HOT 3
- Blank Page HOT 1
- KCFinder upload from computer and browse server directly shows the php content
- Is it possible to link to an image in the image directory?
- clamav detects virus: false positive? HOT 2
- year/month folders HOT 1
- I made it possible to use Kcfinder in tinymce5 HOT 5
- Cross-site Scripting Vulnerability HOT 1
- Unknown image format/encoding HOT 1
- Change default browsing/upload directory into subfolder
- Is it dead? HOT 2
- Best alternative to replace this in an existing project?
- Upload cancelled in Chrome 83.0.4103.61 HOT 10
- How to upload JPEG 2000 and Webp images through KCFINDER
- How do I change the uploaded filename.. HELP
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 kcfinder.