Zeben Posted June 29, 2016 Share Posted June 29, 2016 Hello, i'm developing a shop trying to load the categories, prices, products, manufactures from WebServices..I can load all of them, but when i try to load the images to the products from base64 i can't, i really don't know how save the decoded base64 on folder /prestashop/img/I lost a lot of hours with this problems,really thanks for help. Link to comment Share on other sites More sharing options...
Code-Plus Posted June 29, 2016 Share Posted June 29, 2016 Hello, you should be replace string after decode image: $string64 = str_replace(' ','+',$string64); $img64 = base64_decode(substr($string64, strpos($string64, ",")+1)); Regards! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now