Top
How to use full images in article slideshows?
  • 25 Feb 2022
  • 1 Minute To Read
  • Dark
    Light
  • PDF

How to use full images in article slideshows?

  • Dark
    Light
  • PDF

Whatfix by default supports two sizes for step images, 600px and 400px. When full context of the page is required, these partial images may not give complete understanding to the user. You can alter slideshow/article embed script to make them display full step images. Full size images are scaled down (at client side) to suit the required dimensions. Scaling images does not impact the image aspect ratio.

Note
Using this feature may cause full images to get downloaded on the client machine which uses a lot more bandwidth than normal.

Full images in Slideshow

As of now, full size images are supported only in iFrame mode. For more information, email us at [email protected].

Full images in Article

Following is a typical article style embed script from embed/article window of any flow,

<div data-href="//whatfix.com/deck.html" data-flow="37942390-63f7-11ec-83df-2a8342861064" data-size="full">
<a href="http://whatfix.com/#!flows/How-to-create-Gmail-Account//">37942390-63f7-11ec-83df-2a8342861064/">
How to create Gmail Account?
</a>
</div>

Following parameters have to be added/modified in this script to trigger full size images,

  • data-size: Set its value as full.
  • data-width: Image width that you would like to have.
  • data-height: Image height.

Step images are displayed with width & height as defined by above properties. Full images are scaled down by taking care of aspect ratio.


Was this article helpful?

First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.