WebSite X5Help Center

 
Craig K.
Craig K.
User

Animated gif does not work within Websitex5  en

Autor: Craig K.
Visited 1094, Followers 1, Udostępniony 0  

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

Posted on the
4 ODPOWIEDZI - 1 POMOCNY - 1 PRAWIDłOWA ODPOWIEDź
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

Czytaj więcej
Posted on the from Esahc ..
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Najlepszy Użytkownik miesiąca ESNajlepszy Użytkownik miesiąca PT

... 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/pl/post/32927
https://helpcenter.websitex5.com/pl/post/224528
https://helpcenter.websitex5.com/pl/post/174621

etc.

.

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Craig K.
Craig K.
User
Autor
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.

Czytaj więcej
Posted on the from Craig K.
Craig K.
Craig K.
User
Autor
 ‪ 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/pl/post/32927https://helpcenter.websitex5.com/pl/post/224528https://helpcenter.websitex5.com/pl/post/174621 etc. . ciao .

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

Czytaj więcej
Posted on the from Craig K.