Step-by-Step Instructions
1. Open a Content Section
To get started, you need to open a content section where you wish to add your advanced image. This can be a CMS page or a CMS block.
- Navigate to Content: In your Magento 2 admin panel, go to Content > Pages or Content > Blocks.
- Select or Create: Select an existing page or block you wish to edit, or create a new one.
2. Add a Row or Column Block
Next, you need to add a row or column block to your content area to structure your layout.
- Drag and Drop: From the Page Builder menu, drag a Row or Column block into your content area where you want to place the image.
3. Add the Advanced Image Module
Now, add the Advanced Image Module into the row or column block.
- Drag and Drop: From the Page Builder menu, drag the Advanced Image module into the row or column block you just added.
4. Configure the Advanced Image Module
Click on the Advanced Image item to open its settings and start configuring your image.
4.1 Add Images and Their Dimensions
In the Image section, you will add your images and specify their height and width for different screen sizes.
- Mobile: Upload the mobile version of your image and set its height and width.
- Tablet: Upload the tablet version of your image and set its height and width.
- Desktop: Upload the desktop version of your image and set its height and width.
4.2 Add Image Link and Caption
If required, you can add an image link and an image caption in this section.
- Image Link: Enter the URL you want the image to link to.
- Image Caption: Add a caption for your image if necessary.
5. Add SEO Attributes
In the SEO section, enhance your image with alt tags and title attributes.
- Alt Tag: Enter an alt tag for the image to improve SEO and accessibility.
- Title: Add a title attribute for additional context.
6. Adjust Advanced Settings
If you need to add additional settings like padding, border, and other styling options, use the Advanced section.
- Padding: Set the padding around your image.
- Border: Configure the border style, colour, and width.
- Additional Settings: Explore and adjust any other settings available to customise the appearance of your image.
7. Save and Review
Once you have finished inputting all your items and configurations, save the page and review your changes.
- Save: Click the Save button to save your changes.
- Preview: Preview the page to ensure everything looks as expected across different devices.
Conclusion
By following these steps, you can effectively use the Advanced Image Module in Magento 2’s Page Builder CMS Content Editor to create visually appealing and responsive images for your website. If you encounter any issues or need further assistance, refer to Magento 2’s official documentation or contact support.