Closed zakiharis closed 13 years ago
I try to get image from facebook and other image that using ssl, but phpthumb failed to create the image.
I use the GD library for phpthumb.
this is the error message from phpthumb :
Image file not found: https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-ash4/270605_2047038247874_1001940585_32301197_3432312_n.jpg
Is it I miss something ?
after looking the fileExistsAndReadable function code in ThumbBase.inc.php I add checking for https and its work!
if (stristr($this->fileName, 'https://') !== false) { $this->remoteImage = true; return; }
I try to get image from facebook and other image that using ssl, but phpthumb failed to create the image.
I use the GD library for phpthumb.
this is the error message from phpthumb :
Image file not found: https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-ash4/270605_2047038247874_1001940585_32301197_3432312_n.jpg
Is it I miss something ?