webstraxt/m2-page-builder-better-images

Adds options to specify explicit dimensions and loading behaviour of Page Builder images

1.0.1 2022-11-07 16:53 UTC

This package is auto-updated.

Last update: 2025-07-07 23:16:21 UTC


README

Magento 2 module allowing you to specify explicit dimensions and loading behaviour on Page Builder images. Allows different dimensions to be specified for desktop and mobile images.

To install:

  • composer require webstraxt/m2-page-builder-better-images
  • php bin/magento module:enable Webstraxt_PageBuilderBetterImages
  • php bin/magento setup:upgrade

To use:

  • Insert an image using Page Builder and populate the new fields for Explicit Width (Desktop), Explicit Height (Desktop), Explicit Width (Mobile), Explicit Height (Mobile), and Image Loading. These fields will be rendered as HTML width, height, and loading attributes on the image.

Copyright (C) 2022 Webstraxt Limited