$media->width()

Returns the width of image files in pixels

  • return (integer)

Example

<?php echo $media->width(); ?>