Image stored as extension .tmp when sending image as base64 from postman #2137
Answered
by
muath-ye
aymanalhattami
asked this question in
Q&A
-
I got the image sent from postman app by using addMediaFromBase64, but the image stored as .tmp extension file $media = $market->addMediaFromBase64($input['image'])->toMediaCollection(); |
Beta Was this translation helpful? Give feedback.
Answered by
muath-ye
Oct 28, 2020
Replies: 2 comments
-
Feel free to PR a fix (including tests) that works for you |
Beta Was this translation helpful? Give feedback.
0 replies
-
Are you sure the key type is a file type? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
aymanalhattami
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you sure the key type is a file type?
See this image to make sure..