Image Issues

Permalink Browser Info Environment
Hi,

We are using your Block on a website, the client keeps on adding large images, wrong file formats and such like, and each one of these breaks the block and the website.

Is there a way to set image dimensions, set files to image formats only and limit the size of an image to prevent the site breaking?

Kind Regards

Type: Discussion
Status: Resolved
csld
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

When you have the "Image" added within Block Designer, you can add a "Thumbnail handle". You can create those thumbnails in the given link (description under that field) and then enter the handle. The system will then generate a thumbnail with that handle (make sure it does exist though).

Optionally you can check the "Make a thumbnail of the image" checkbox and crop to a given width/height. This will not use the thumbnail handle though, so that's not connected. Could be useful if you don't use thumbnails elsewhere and just for a particular scenario (which will never change). If width/heights may change, may be best to use thumbnails instead. Up to you!

Kind regards,

Ramon

concrete5 Environment Information

All versions

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.