-
Notifications
You must be signed in to change notification settings - Fork 191
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
Returned data is not an image. #133
Comments
Hi @Tarasovych were you able to find a solution? I face the same issue, some url works and others don't (I use DO spaces), appreciate any guidance |
@nam-co nope( |
@Tarasovych @jeroendesloovere is there an option to turn the image format verification off? |
I just got the same error with a simple png: https://s3.showpage.app/showpage/biz/39/pages/99/dario-qpau5.png |
I don't use the library for long, so I can't help |
I have two Laravel apps. Both on the same commit state.
First app domain is like
foo.bar.example.com
, second isbar.example.com
. Both served via same web-server and have ssl certificate (if that matters for my issue).Both apps store images in the same folder, folder has 0755 permission and the same user is an owner.
I have such code:
and it cause some problems.
This:
returns valid link to an image - I've checked on both sites.
So I can say that
addPhoto()
always get valid string as an argument.BUT being on
foo.bar.example.com
I gotReturned data is not an image.
. What can be a problem? Thank you!P. S. I've also tried
addPhoto('https://foo.bar.example.com/path/to/image/file.jpg')
- same error.P.P.S This works somehow:
addPhoto('https://bar.example.com/path/to/image/file.jpg')
,addPhoto(public_path('path/to/image/file.jpg'))
. Can't understand. Both urls return identical headers when executed in browser.The text was updated successfully, but these errors were encountered: