Interactive Content: H5P Image Juxtaposition
Sections
- What is Image Juxtaposition?
- When to use Image Juxtaposition
- Adding an Image Juxtaposition interaction
- Revising an Image Juxtaposition interaction
- Deleting an Image Juxtaposition interaction
- Image Juxtaposition review process
Do NOT use the Upload H5P file tab or select the Clear Content check box.
What is Image Juxtaposition?
Image Juxtaposition is an HTML5-based image content type that allows users to compare two images interactively.
When to use Image Juxtaposition?
Use Image Juxtaposition when you want to compare two related entities. Some examples include:
- Before and after
- Start and end
- End user view and Admin view
Adding an Image Juxtaposition interaction
- In your topic, click Add H5P Interaction.
- From the list of content types, click Image Juxtaposition. The image juxtaposition editor is displayed.
- Enter a Title. This is a required field.
- Optional: In the Heading field, enter the label that you want to display at the top of the Before/After image juxtaposition.
- In the First image section, click Add to upload the first image.
- Enter the label for the first image.
- In the Second image section, click Add to upload the second image.
- Add the label for the second image.
- Click Save to save your interaction.
General settings
- Both images must be the same size — juxtaposition does not work if the images are different sizes.
- If showing as a before / after screenshot, make sure all UI elements are in the same place, so the image doesn’t “jump.”
- Images should be under 10MB, but the HTML5 scales to any size or resolution.
- Images larger than 10MB reduce performance.
- Capture images at 100% for browser elements
- Make sure the image is readable
- Min: 600px
- Max: 3000px
- The Vertical setting is not recommended. Consult the Pega Community Creative Team if you have a case for vertical juxtaposition
Behavioral settings
- Slider start position in %: 50
- Slider orientation: Horizontal
Revising an Image Juxtaposition interaction
- On the Master Content page, click the topic that contains the interaction.
- On the Release page, click Edit.
- In the Section area, click [+] to expand the section containing the image juxtaposition interaction.
- Modify the interaction as needed.
- Click Save to save your interaction.
Deleting an Image Juxtaposition interaction
- On the Master Content page, click the topic that contains the interaction.
- On the Release page, click Edit.
- Click Remove to the right of the image juxtaposition section of the Topic.
- Click Confirm removal to delete the interaction.
- Click Save.
Image Juxtaposition review process
Pega Academy cannot yet track changes made to interactive content, so edits are manually tracked.
For the Image Juxtaposition interaction, the content editor leaves feedback as a Pulse note in the Agile Studio task card.