Skip to content

Pop-Ups

Insert an image in a Pop-up

Visual Editor enables you to insert an Image in a Pop-up template directly using the UI, without needing to edit the JSX code. Embed images in any Pop-up template by adding their URL. Any image you want to insert in a Pop-up has to be first hosted on the Whatfix dashboard, or on an online image-sharing website like Imgur, ImgBB, and more. Once hosted, use the image URL to add the images.

Note

  • Ensure that you have the image URL before proceeding.
  • The image URL must contain https if the Pop-up is displayed on a secure webpage.
  • Only .jpg, .gif, and .png image formats that are up to 4 MB in size are supported.
  • Whatfix enables you to upload up to 100 images from your local drive for use in your Pop-ups. Once this limit is reached, you will see the error message. However, this limit can be increased by contacting support@whatfix.com.

Use the following steps to insert an image in a Pop-up using the Visual Editor:

  1. Log in to the application where you want to create content, and then launch Whatfix Studio. CLM_editor plug in2

  2. On the Whatfix Studio, click Popup. clm_studio_pop-up

  3. Choose the color theme using the Theme dropdown. 2024-10-18_16-49-43.png

    Note:

Use custom color by entering the hex color code in the text box. Add hex color code for Pop-ups before you select a template

  1. Select one of the Pop-up templates, for example, Feature Onboarding. Select_template
  2. Click the image placeholder to open the Image Froala Toolbar. Image_froala_toolbar
  3. Click the + icon. click_add_componentnew
  4. On the Add Component dialog box, click Image. click_image
  5. Paste the embed URL of the image you want to insert or upload an image from your local drive or Whatfix Gallery. click_add_img
  6. Click Insert. click_insert
  7. The image gets added in the Pop-up.

Note:

Once the image gets added, make the following changes using the Image Froala Toolbar :

  • Resize the image height using the Resize options icon.

click_image_resize

  • Enable the Ignore safe area toggle to extend the image beyond the safe area boundaries. ignore_safe_area_toggle
  • Use the Align icon to align the image to left, right, or center. Align_icon
  • Use the Vertical Align icon to align the image vertically. Vertical_align
  • Use the Alternative Text icon to provide a textual description of the image content. Alternative_text
  • Use the Replace Image icon to replace the existing image. Replace_icon
  • Use the Remove Component icon to delete the image. Remove_Component

your title goes here

  • Use the Drag and Drop feature to move or re-position the image around the Pop-up.
  • Using the Drag Handlers, the image can be moved or re-positioned both vertically (column-wise) and horizontally (row-wise).

Drag and Drop

your title goes here

When you make changes to the Pop-up using the Drag Handlers, you may not be able to undo certain changes. In that case, you may need to re-create the Pop-up. For more information, see Can I undo the changes made with the Drag Handlers?

  1. Finish creating the Pop-up and click Save Popup. click_save

your title goes here

Insert or edit an image in a Pop-up template after creating it, using the Edit icon on the Dashboard. resize_popup_DB

Drag Handlers are used to move or reposition the component within the Pop-up.