Page 1 of 1

Some animated gifs are not being displayed in html billboard

Posted: Mon Aug 03, 2020 2:22 pm
by AleBlengio
Hi,

I have an html billboard in the progress dialog, where I display an animated gif. The content of my index.htm file is:

<html>
<body>
<img src="./animated.gif" />
</body>
</html>

I have a problem when the setup runs, the animated gif is not being displayed, and a yellow image with an exclamation mark appears (as seen in attached error.png).

It occurs with some .gifs, some others work ok (I have attached two samples, animatedOk.gif and animatedError.gif). If I run index.htm directly in any browser, the animated gif is displayed in both cases.

Do you have any ideas ?

I'm working with X12, build 7.2.2020.

Thank you,
Alejandro

Re: Some animated gifs are not being displayed in html billboard

Posted: Tue Aug 04, 2020 1:01 pm
by FrancescoT
First of all, In place of: <img src="./animated.gif" />

Did you try with: <img src="animated.gif" />?

Images are expected to be within the SUPPORTDIR location at runtime. Due of this is not necessary to prepend the file name with: "./"

Re: Some animated gifs are not being displayed in html billboard

Posted: Tue Aug 04, 2020 2:07 pm
by AleBlengio
hi Francesco,

Yes, both index.htm and .gif are included as support files.

I just tried changing the index.htm file as you suggested, but the error persists.

Thank you,
Alejandro

Re: Some animated gifs are not being displayed in html billboard

Posted: Wed Aug 05, 2020 12:22 pm
by FrancescoT
If you have any chance to post a VERY MINIMAL project(*) that replicates the issue, I'll try to have a look.
(*)the project should include and invoke, one of the gifs that works, and one of those that doesn't.

Alternatively, If you prefer, you may contact support@installaware.com to arrange the delivery of the project.

Re: Some animated gifs are not being displayed in html billboard

Posted: Thu Aug 06, 2020 11:06 am
by AleBlengio
Hi Francesco,

Attached is a .zip with a small sample project, with an html billboard in the progress dialog. It includes index.htm and animated.gif (the one that fails) as support files. The .zip file also includes animatedOK.gif (the one that works ok).

If you need any other thing please let me know.

Thank you,
Alejandro

Re: Some animated gifs are not being displayed in html billboard

Posted: Tue Aug 11, 2020 9:17 am
by FrancescoT
Dear Alejandro,

the problem here is due the large number of frames of the Animated Gif (animatedERROR.gif). This contains an animation sequence which is larger than 400 frames, and unfortunately such number of frames isn't supported by the HTML control.

For large animations, we would recommend AVI files instead with the dedicated animation control.

Hope this helps you.