V1.7 Image: WebP, Compress, Zoom, Lazy load, Alt &More Module UPDATE 1.5.60

lolaco

Member
XNullUser
Joined
May 1, 2020
Messages
729
Reaction score
1
Points
18
NullCash
9
Thank you for this update
Post automatically merged:

Thank you for this update
 
Last edited:

hitmango

Member
XNullUser
Joined
Jan 6, 2020
Messages
101
Reaction score
0
Points
16
NullCash
0
Thank you very much for such a good contribution, God bless you and the community.
 

Roych

Member
XNullUser
Joined
Mar 5, 2020
Messages
85
Reaction score
0
Points
6
NullCash
8
Nice module, will check it out ;) Thank you ;)
 

tuuni

Active member
Elite
Joined
Jan 2, 2020
Messages
133
Reaction score
239
Points
43
NullCash
551
Thanks for the module!
Post automatically merged:

This module is not nulled, do not use it.
Developer is from romania and his site is: https://advancedplugins.com

ultimateinagetool.php, line 833:

Code:
    public static function imageExists($url)
    {

        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL,$url);
        curl_setopt($ch, CURLOPT_NOBODY, 1);
        curl_setopt($ch, CURLOPT_FAILONERROR, 1);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_TIMEOUT, 1);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);

        if(curl_exec($ch)!==FALSE)
        {
            return true;
        }
        else
        {
            return false;
        }
    }

    public static function isJson($string)
    {
         json_decode($string);
         return (json_last_error() == JSON_ERROR_NONE);
    }


    public static function get_webp_from_advancedplugins($path = NULL, $image_type = 'image_file_b64', $image_quality = 85)
    {

        if($path == NULL)
            return false;

        $ch = curl_init();
        $data = array(
                        'action' => 'convert2webp',
                        'q' => $image_quality,
                        'token'  => '63etrbf3yhrtbsgwsd',
                        $image_type => $path,
        );

        curl_setopt($ch, CURLOPT_URL,"https://api.advancedplugins.com");
        curl_setopt($ch, CURLOPT_POST, 1);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $data);

        // Receive server response ...
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
        curl_setopt($ch, CURLOPT_VERBOSE, TRUE);
        //curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: image/jpeg"));

        curl_setopt($ch, CURLOPT_HEADER, false);
        curl_setopt($ch, CURLOPT_ENCODING, "");
        
        curl_setopt($ch, CURLOPT_TIMEOUT, 3);
        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3);
        curl_setopt($ch, CURLOPT_MAXREDIRS, 3);

        $server_output = curl_exec($ch);

        curl_close ($ch);
Post automatically merged:

If you want, you can buy the module here to safely use it 69euros (tax included):
https://advancedplugins.com/product/image-toolbox-compress-regenerate-more/?attribute_pa_pack=basic
Post automatically merged:

If you want, you can buy the module here to safely use it 69euros (tax included):
https://advancedplugins.com/product/image-toolbox-compress-regenerate-more/?attribute_pa_pack=basic
 
Last edited:
Top