-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix isImage helper function #101
Conversation
Better to avoid checking by extension and rely on mime types.
This does not work with S3 images as the url has no extension. any advise? |
I managed to add extension in S3 and now my initial files array looks like this. Still no preview and i still see this placeholder thumb |
Hi! I haven't used this library since last year when I submitted the fix, but I'll try to help anyways. |
Thank you so much |
Sure np. Just make sure the type is not |
Same behavior if i set |
You should probably follow any existing issues or create one yourself. |
Thanks a lot. |
@madaher-dev I mean there are a couple of open issues which look very similar to yours. Check out the PR I linked above and you'll see those. |
Cool will do |
Better to avoid checking by extension and rely on mime types.