WebSite X5Help Center

 
Craig K.
Craig K.
User

Animated gif does not work within Websitex5  en

Auteur : Craig K.
Visité 535, Followers 1, Partagé 0  

It is no longer animated, and only shows one of the two images that it should alternate between.

Posté le
4 RéPONSES - 1 UTILES - 1 CORRECT
Esahc ..
Esahc ..
Moderator

Craig, did your gif work but then stop working?

Where are you placing the gif? Can you provide the url?

I have generally found that if the gif is placed with no resizing it will continue to be animated, but if wx5 resizes it then the animation fails.

In an old version I needed an animated gif in the header but WX5 insisted in converting it. I overcame the problem by placing an html object and calling the gif (copied to the public_html folder) directly. I am not sure if this restriction still applies. (the was the code: <img src="gfa-ani2.gif" alt="Gippsland Food Adventures">)

Please advise

Lire plus
Posté le de Esahc ..
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Meilleur utilisateur du mois IT

... the GIF image can be attached to the Project in the "files" folder (default): > Files linked to HTML code (>or)
... and then use the option URL  and paste:
files/imagename.gif
...
... or, use an HTML Code Object and paste:
<img src = "files/imagename.gif" >
... or:
<img src = "files/imagename.gif"  width = "100">
...

https://helpcenter.websitex5.com/fr/post/32927
https://helpcenter.websitex5.com/fr/post/224528
https://helpcenter.websitex5.com/fr/post/174621

etc.

.

ciao

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Craig K.
Craig K.
User
Auteur
Esahc ..
Craig, did your gif work but then stop working? Where are you placing the gif? Can you provide the url? I have generally found that if the gif is placed with no resizing it will continue to be animated, but if wx5 resizes it then the animation fails. In an old version I needed an animated gif in the header but WX5 insisted in converting it. I overcame the problem by placing an html object and calling the gif (copied to the public_html folder) directly. I am not sure if this restriction still applies. (the was the code: <img src="gfa-ani2.gif" alt="Gippsland Food Adventures">) Please advise

Thanks, uploading the gif to server manually and calling the GIF directly via html code works. I think eventually this should be an option in WX5 to make it easier so you don't need to a manual setup each time.

Lire plus
Posté le de Craig K.
Craig K.
Craig K.
User
Auteur
 ‪ KolAsim ‪ ‪
... the GIF image can be attached to the Project in the "files" folder (default): > Files linked to HTML code (>or) ... and then use the option URL  and paste: files/imagename.gif ... ... or, use an HTML Code Object and paste: <img src = "files/imagename.gif" > ... or: <img src = "files/imagename.gif"  width = "100"> ... https://helpcenter.websitex5.com/fr/post/32927https://helpcenter.websitex5.com/fr/post/224528https://helpcenter.websitex5.com/fr/post/174621 etc. . ciao .

Thanks, yes I think this will also work in a similar way to Esahc..

Lire plus
Posté le de Craig K.