Free!
Download
SafeGlide
Description

This is a small add-on tag which stops Glide trying to resize those 87MB 12,000px x 18,000px PNG images that clients love to upload (even after you tell them not to 100 times) – which usually ends up with a broken site and maybe some quiet sobbing.

SafeGlide lets you specify the size limits at which it will skip trying to resize any images.

It can serve the original huge image as a fallback, or a 1x1 transparent GIF so your client knows they have been extremely naughty when they behold the nothingness, instead of their gargantuan raw image.

There are also options to log these aforementioned crimes against web images.


Important Links
Details
Released December 13, 2018
Downloads 40
Requires Statamic 2.10

Pixel Primate

More by Pixel Primate

Similar Addons

See All
Consume REST services in your templates

Placid

by Alec Ritson in API, Utility, Tool
Consume REST services in your templates
Fieldtype for finding a location using Google Maps autocomplete.

Location

by Aryeh Raber in Enhancement, Fieldtype, Maps, Integration
Fieldtype for finding a location using Google Maps autocomplete.
Recover cache when it has been corrupted, rendering the site inaccessible.

Cache Crashie

by Frederik Sauer in CLI, Utility
Recover cache when it has been corrupted, rendering the site inaccessible.