$dimension->width()

Returns the width in pixels

  • return (integer)

Example

<?php echo $page->image()->width() ?>