- 19 Jun 2024
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
How to use full size images in article slideshows?
- Updated On 19 Jun 2024
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
By default, Whatfix supports two sizes for step images, 600px and 400px. When the full context of the page is required, these partial images may not give the user a complete understanding. Alter the slideshow/article embed script to make them display as full size images. Full size images are scaled down (at the client's side) to suit the required dimensions. Aspect ratio is ensured while scaling images.
The full size images might get downloaded on the client machine when you use this feature, which uses a lot more bandwidth than normal.
Full size images in Slideshow
As of now, full size images are only supported in iFrame mode. For more information, contact support@whatfix.com.
Full size images in Article
The following is a typical article style embed script from the embed article window of any flow.
<div data-href="//whatfix.com/blog.html" data-flow="7a2ca570-dcaf-11e2-a08a-00265a7a1a29" data-size="full">
<a href="http://whatfix.com/#!flows/who-can-access-my-google-account/7a2ca570-dcaf-11e2-a08a-00265a7a1a29/">
Who can access my Google account?
</a>
</div>
The following parameters have to be added or 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.
The Step images are displayed in width and height as defined by the mentioned properties. Full size images are scaled down by taking care of the aspect ratio.