$media->width()

Returns the width of image files in pixels

  • return (integer)

Example

<?= $media->width(); ?>