$im = imagecreatefromwebp('site.com/pic.webp'); This code works, but if you do it like this
$pic1 = $a[0]->src; $im = imagecreatefromwebp($pic1); Already not working. What is it so? There is a link in the $ pic1 variable.
$im = imagecreatefromwebp('site.com/pic.webp'); This code works, but if you do it like this
$pic1 = $a[0]->src; $im = imagecreatefromwebp($pic1); Already not working. What is it so? There is a link in the $ pic1 variable.
Source: https://ru.stackoverflow.com/questions/446774/
All Articles
$pic1asecho "'$pic1'";. - Vismanhttp://site.com/pic.webpalso will not work? - Visman