You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sending GIFs to TwicPics for optmization can be heavy on the bandwidth, it could be interesting to be able to filter out GIFs images from being processed by TwicPics.
Something like the following should work:
/**
* Get formattted original source.
*/
get original() {
- return this.formatSrc(super.original);+ const { original } = super;+ return original.endsWith('.gif') ? original : this.formatSrc(original);
}
Maybe we could add an option to enable or disable this behaviour, or a more generic one to filter values.
The text was updated successfully, but these errors were encountered:
Sending GIFs to TwicPics for optmization can be heavy on the bandwidth, it could be interesting to be able to filter out GIFs images from being processed by TwicPics.
Something like the following should work:
Maybe we could add an option to enable or disable this behaviour, or a more generic one to filter values.
The text was updated successfully, but these errors were encountered: