Displaying a GIF Image in a Cell by HTML

  • Last update:September 18, 2025
  • 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?

     gif1.gif

    Implementation Method

    You can use the embed tag in HTML and set the corresponding cell to display content by HTML.

    iconNote:

    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.

     2.png

    <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.

     3.png

    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.

    Attachment List


    Theme: Report Application
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy