$dimension->width()

Returns the width in pixels

  • return (integer)

Example

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

Is something missing or incorrect? Edit this page on Github…