pixeler
pixeler copied to clipboard
Fails on image URL with query string
Fails on image URL with query string and reports: Image format not supported.
Workaround might look like:
$urlArray = parse_url($result->thumb);
Pixeler\Pixeler::image($urlArray['scheme'] . '://' . $urlArray['host'] . $urlArray['path']);
or
$url= strtok($result->thumb, '?');
Pixeler\Pixeler::image($url);
Additionally, please throw an exception if URL is not readable via HTTP or something else while processing the image is going wrong. At this point I cannot use try catch blocks with Pixeler.