Jump to content

SeNioR-

Members
  • Posts

    1,146
  • Joined

  • Days Won

    5

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by SeNioR-

  1. I see there is a new notification:

    Graph API v9.0 will be deprecated on Feb 23, 2023. Please use the API Upgrade Tool to understand how this might impact your app.

    Number of upcoming changes: 1

    GET: https://graph.facebook.com/{user-id}

    Oldest Supported Version

    • v10.0 - February 23, 2023
    • v11.0 - June 8, 2023
    • v12.0 - September 14, 2023
    • v13.0 - February 8, 2024
    • v14.0 - May 28, 2024
    • v15.0 - September 17, 2024
    • v16.0 - September 15, 2024
  2. When the editor freezes, I get:

    front_front_statuses.js?v=4a97574f6d1675370690:4 
    Uncaught TypeError: Cannot read properties of undefined (reading 'reset')
    at baseController.addToStatusFeed (front_front_statuses.js?v=4a97574f6d1675370690:4:234)
    at nr (root_library.js?v=4a97574f6d1675370690:1:7597)
    at HTMLDocument.<anonymous> (root_library.js?v=4a97574f6d1675370690:1:8025)
    at HTMLDocument.<anonymous> (root_library.js?v=4a97574f6d1675370690:1:1076)
    at HTMLDocument.dispatch (root_library.js?v=4a97574f6d1675370690:2:43090)
    at v.handle (root_library.js?v=4a97574f6d1675370690:2:41074)
    at Object.trigger (root_library.js?v=4a97574f6d1675370690:2:71513)
    at HTMLLIElement.<anonymous> (root_library.js?v=4a97574f6d1675370690:2:72108)
    at Function.each (root_library.js?v=4a97574f6d1675370690:2:2976)
    at jQuery.fn.init.each (root_library.js?v=4a97574f6d1675370690:2:1454)
  3. Hey, devs. I have a question about converting image attachments.

    So, if we use Imagick, PNG images are not compressed at all. 8 out of 10 images that I uploaded to the post have a larger file size than before uploading (lol).

    I wrote some code to compress PNG images (by changing the format to webp) and the size dropped by about 80% (sic!), however I need code to save the output file in .webp format. 

    Can anyone direct me how to change the output format after uploading?

    /* Get Format */
    $format = $this->imagick->getImageFormat();
    	      
    /* Set PNG */
    if( mb_strtolower( $format ) == 'png' )
    {
    $this->imagick->setImageFormat('webp');
    $this->imagick->setOption('webp:filter-strength', '20');
    $this->imagick->setOption('webp:filter-type', '0');
    $this->imagick->setOption('webp:method', '3');
    $this->imagick->setImageCompressionQuality( 85 );
    }
×
×
  • Create New...