Images

Updated at:
Copy as MD

This topic describes how to use image controls in the designer. Image controls include single image, image carousel (images only), image carousel (with content), image list, logo image, and QR code controls.

Differences between image controls

  • Single image: Adds only one image.

  • Image carousel (images only): Displays multiple images in a carousel. If you place a button on this control, the button is placed on a layer above the control. The button remains visible regardless of which image is displayed.

  • Image carousel (with content): Displays multiple images in a carousel. The content of each page can be edited separately. For example, if you place a button on the first page, the button is placed inside the container and does not automatically appear on the second page.

  • Image list: The main difference between an image carousel and an image list is the display format. The Image carousel (images only) control displays one image per page, while the Image list control displays multiple images per page.

  • Logo image: A type of single image control. You can use this control to upload a website logo.

  • QR code control: Generates QR code images for text, links, or phone numbers.

流程2.1

Add an image control

In the resource area, click Content > Image. Select an image type and style, and then click in the design area to add the control.添加图片

Replace the first screen (hero) background image

The background image of the first screen, also called the hero background image, is usually not an independent image control. Therefore, you cannot select and replace the first screen background in the same way that you replace a regular image.

To replace the first screen background image, perform the following steps:

  1. In the editor, select the background image of the first screen and double-click the image to replace it directly.

  2. If the image cannot be replaced directly, or the first screen is not an independent image element, use AI to generate a placeholder background image first, and then replace the placeholder with your own image.

Configure an image control

Select an image control to open the edit panel. You can click the buttons to switch between menus and quickly configure the image style, content, animation, and arrangement. 图片的设置面板

  • Style: Set the fill mode, border style, and shadow style for the image.

  • Edit: Replace the image, enhance the image, set the image title, and set the image link.

    Note

    Image title: The title is displayed when a user hovers over the image. Image link: Clicking the image redirects to the specified link.

    The following limits and workarounds apply to logo images and to images in specific scenarios:

    • You cannot resize a Logo image control by dragging it in the editor. To change the size at which the logo appears, edit the original image file, for example, by adding transparent padding or a background color around the logo, and then upload the image again.

    • If a Logo image control appears in an unexpected position, such as shifted upward, on pages such as article detail pages, replace it with a Single image control.

    • If the background color of the page header or footer does not match the transparent background of the logo image and causes a display issue, go to the visual editor and set a matching background color for the page header, such as white, so that the logo appears as expected.

    • If an image on a product page is not displayed in full, check the fill mode of the image carousel control and adjust it as needed.

  • Animation: Set the animation effect for the image.

  • Arrange: You can adjust the size and position.

Troubleshoot image display issues

If an image is not displayed as expected after you configure the image control, use the following methods to troubleshoot the issue.

  • The image is distorted or blurry: Check whether the fill mode (proportional scaling, crop to fill, or stretch to fill) matches the size of the container. If the fill mode is correct but the image is still blurry, the resolution of the original image may be too low. Upload a higher-resolution original image to replace it.

  • The image size in the design view differs from the size in the preview: Select the image and reset its size parameters so that the size settings are consistent for all images.

  • The image is displayed differently in different browsers: If the configuration is correct but the image is still displayed abnormally, switch to another browser, such as Chrome, or open the page in incognito mode to rule out cache interference.

  • A QR code is not displayed in full on a mobile device: Increase the size of the QR code container, or use responsive layout settings to adapt the QR code to different devices.

Switch image styles

You can click the button shown in the following figure to switch the image style.图片切换样式

Image mask feature

  • Purpose: The image mask feature lets you hide parts of an image to show only a specific area.

  • Usage notes: The image mask feature is supported for Image Style 1 (rectangular image control).

  • Steps:

    1. Click the mask icon shown in the following figure to enter mask edit mode.图片遮罩截屏2025-05-22 15

    2. When editing the mask:

      • Click in the edit area to select the image as the object to edit. You can drag within the edit area to move the image. When the Edit Image tab is selected, you can drag the border of the image to zoom in or out. The aspect ratio is inherited from the fill mode of the outer control.

      • Double-click in the edit area to select the mask as the object to edit. When the Edit Mask tab is selected, you can click the drag handle in the upper-right corner to move the mask. You can also drag the border of the mask to adjust the visible area of the image mask.

    3. To finish editing the mask, click anywhere outside the edit area or click the Done button to exit edit mode.

Edit an image

  • Purpose: You can crop, flip, rotate, or draw on an image, add icons or text, or adjust the image.

  • Usage notes: The image editing feature is supported for the following controls: Image, Logo, Image Carousel, Image Carousel (with content), Image List, and Navigation Container.

    • For Image and Logo controls, select the control and then click the icon shown in the following figure to edit the image.编辑图片按钮编辑图片

    • For Image Carousel, Image Carousel (with content), Image List, and Navigation Container controls, you can edit the image when you replace it, as shown in the following figure.多图轮播编辑图片

One-click delete

You can select an image control and click the trash can icon to delete the control.

Note

For a video of the related operations, see Using image controls.

Recommended image sizes

Image type

Recommended size

Icon

32 × 32 px

Image in a list

400 × 400 px

Image on a product page

Width: 1000 px. Height is determined by a fixed aspect ratio.

Full-screen background image for PC

1920 × 1080 px

Banner image for PC

Width: 1920 px. Height is determined by a fixed aspect ratio.

Full-screen background image for mobile

Aspect ratio: 9:16

Banner image for mobile

Width: 640 px or more

FAQ

Q: What do I do if a banner image or a carousel image is not displayed in full, is distorted, or is cropped on a mobile device?

A: Website building products, such as Wanxiaozhi and Yunmeng, do not support adaptation to all resolutions, so you must prepare images based on the recommended specifications:

  • Set the size of a banner image to no more than 1920 px in width and 800 px in height. Keep the core text and product content inside the safe area at the center of the image, which is 1200 px in width and 600 px in height, to prevent the content from being cropped at the edges.

  • If an image carousel is stretched or displayed abnormally on a mobile device, check whether an independent text control is overlaid on the image and causes a layout conflict. Merge the text into the image, delete the independent text control, and adjust the fill mode of the carousel control.

  • If a poster image on a mobile device must adapt to the screen width, switch the image control to another style.

FAQ about image upload and replacement

Q: What are the size and quantity limits for uploading images?

A: The total storage capacity that is used by images is not limited. However, the number of images that you can upload depends on your edition, and the size of a single image cannot exceed 10 MB.

Q: What do I do if the front-end page still shows the original image after I replace it, or if the replacement does not take effect?

A: Switch to edit mode and select the image. You can describe the change that you want in an AI conversation and let AI fix the issue. You can also click the edit button on the image, upload the new image again, and apply the change.

Q: What do I do if the AI-generated Upload Image button does not work on the front-end page?

A: The Lite edition does not support databases, so the button is only a static element. To remove the button, use an AI instruction to delete it. To change the image on the button, replace the image manually.

Q: How do I display an image that is embedded in a PDF file?

A: Extract the image from the PDF file, upload the extracted image to the backend, and then use an image control to display the image.

Q: What do I do if the orientation of an image changes automatically after I upload the image?

A: Use the image editing feature in the backend to rotate the image and correct its orientation.

Q: What do I do if the text layout is disrupted after I insert an image?

A: Place the cursor immediately before or after the image and press Enter to add a line break, which separates the image from the surrounding text.

Q: Why is a logo or an image visible in the editor and inside the safe area of the designer canvas, but not displayed after I publish the site?

A: This issue occurs in the following scenarios:

  • The image is not displayed in the preview on a mobile device: Generate a real mobile preview link instead of using the Alt+P simulator preview, and then verify the image. This helps you rule out differences between the preview tool and the actual environment.

  • An icon is not displayed: Check whether the icon is correctly placed in its container and delete any empty buttons that may interfere with the layout. Save the changes and preview the page again.

Q: How do I implement press and hold to scan a QR code, click to zoom in, or floating effects for an image?

A: The configuration depends on the effect that you want:

  • Press and hold to scan a QR code: Use a regular Single image control to display the QR code and set a link for the image. Do not use an Image list control, because that control applies a forced zoom effect.

  • Click to zoom in or to open a link: On the Animation panel of the image control, select the hover zoom or hover shake effect. You can also set an image link on the Edit panel so that clicking the image opens the link.

  • Make a product image float separately from the background: You do not need to split the image. Select the foreground product control and add an animation effect to the control.