Timeline for How to add media gallery entries via REST API - Magento 2
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 4, 2017 at 10:58 | comment | added | Gediminas |
maybe you are retrieving base64 string with "data:image/jpeg;base64," beginning which is not needed. Only base64_encode() function output must be passed.
|
|
Mar 4, 2017 at 6:49 | comment | added | Bilal Usean | do you have any idea about first example? | |
Mar 4, 2017 at 4:52 | comment | added | Bilal Usean |
I tried but no luck, same error MIME type is not valid or not supported . I retrive base64 encode string from database $data->getMainImage()
|
|
Mar 3, 2017 at 16:17 | history | answered | Sinisa Nedeljkovic | CC BY-SA 3.0 |