$dimension->width()

Returns the width in pixels

  • return (integer)

Example

<?= $page->image()->width() ?>