Supermax Xplus 1506fv 2021 Software

Ikram dirujii

Yeni Üye
Puan 18
Çözümler 0
Katılım
22 Ara 2020
Mesajlar
32
Yaş
30
Ikram dirujii
0d314451-3e4e-43e8-a917-0f4da00bd8e6ba73715bd1fb41ba.jpg
0db24174-e9d4-49a1-b6aa-ec78d77542040aac290c9f7d0f00.jpg
3c1b397b-37fe-45f7-a49a-e1f38f0706a6a4543d2af5819744.jpg
9c96da31-3db7-4623-bd9c-0e7ac3f91b67ea555f255ddf6620.jpg
82ffddd0-f92c-4ad6-8f1b-9994249b7aa4dca460c2437dd786.jpg




Ziyaretçiler için gizlenmiş link,görmek için Giriş yap veya üye ol.


Dear Forum admins, we Can Not Upload Images In Webp format to the forum.
Please add this feature.




add the following script to your function.php file


function webp_upload_mimes ($ existing_mimes) {
$ existing_mimes ['webp'] = 'image / webp';
return $ existing_mimes;
}
add_filter ('mime_types', 'webp_upload_mimes');
// ** * Enable preview / thumbnail for webp image files. * /
function webp_is_displayable ($ result, $ path) (
if ($ result === false) (
$ displayable_image_types = array (IMAGETYPE_WEBP);
$ info = @getimagesize ($ path);

if (empty ($ info)) (
$ result = false;
} elseif (! in_array ($ info [2], $ displayable_image_types)) {
$ result = false;
} else {
$ result = true;
}
}

return $ result;
}
add_filter ('file_is_displayable_image', 'webp_is_displayable', 10, 2);
 
Son düzenleme:
Convert to jpg or png format :)

@Sota
 
Geri
Üst Alt