Facebook thumbnails

45 Views Asked by At

i have a simple script, that outputs image to browser, like this:

Header("Content-type: image/webp");
header('X-Sendfile: ' . $href);

imagejpeg($image, null, 100);
imagejpeg($image, null, 100);

But when i put this link to facebook, its not detected as image. Link example: https://teststore0.cloud-dev.soborka.net/getimg/de4368f84cc97dcf100d8d21730fa1e6.jpg its rewrites by htaccess to php script

0

There are 0 best solutions below