Some animated gifs are not being displayed in html billboard

Got a problem you cannot solve? Try here.
Post Reply
AleBlengio
Posts: 5
Joined: Mon Jun 24, 2019 10:59 am

Some animated gifs are not being displayed in html billboard

Post 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
Attachments
animatedOK.gif
animatedOK.gif (24.08 KiB) Viewed 6629 times
animatedError.gif
animatedError.gif (1.59 MiB) Viewed 6629 times
error.png
error.png (13.61 KiB) Viewed 6629 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Post 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: "./"
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
AleBlengio
Posts: 5
Joined: Mon Jun 24, 2019 10:59 am

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

Post 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
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Post 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 [email protected] to arrange the delivery of the project.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
AleBlengio
Posts: 5
Joined: Mon Jun 24, 2019 10:59 am

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

Post 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
Attachments
AnimatedGifSample.zip
(3.83 MiB) Downloaded 852 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Post 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.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply