Overview
Version
| Report Server Version |
|---|
| 11.0 |
Expected Effect
You can insert a GIF image into a cell in a general report and display the image during preview, as shown in the following figure. How to realize the effect?

Implementation Method
You can use the embed tag in HTML and set the corresponding cell to display content by HTML.
Note:In remote design, the called GIF image file path should be on the remote project server, not on the local computer.
You must place the image on the server or use web URLs.
Example
Preparing a GIF Image
You need to save the required GIF image to your local device, and copy the file and paste it to the project directory, for example, FineReport installation directory\webroot\help.
For details, you can download the image: 1.zip.
Tag Insertion
Merge required cells and enter the following content into the post-merged cell.
The height and width attributes specify the height and width of the embedded content, respectively.

<embed src="\webroot\help\1.gif" width="200" height="200"></embed>
Displaying Content by HTML
Right-click the cell, select Others, and set Display Content to Display by HTML, as shown in the following figure.

Effect Display
PC
Save the template and click Pagination Preview. The effect is the same as that shown in section "Expected Effect."
Mobile Terminal
The effect cannot be previewed on mobile terminals.