It would be great to call the !sizes method of images. In some cases the image is too big to the format that is being used. For example , in a grid that show several photos at once.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mistermoper created an issue. See original summary.

omarlopesino’s picture

StatusFileSize
new803 bytes

Here goes a patch that applies that method. Please review, thanks!

omarlopesino’s picture

Status: Active » Needs review

  • omarlopesino committed 9f4f554 on 8.x-1.x
    Issue #3168944 by omarlopesino: Allow get image sizes
    
omarlopesino’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.