WebSite X5Help Center

 
Craig K.
Craig K.
User

Animated gif does not work within Websitex5  en

Автор: Craig K.
Просмотрено 1096, Подписчики 1, Размещенный 0  

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

Размещено
4 Ответы - 1 Полезно - 1 Корректно
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

Читать больше
Размещено От Esahc ..
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Лучший пользователь месяца ESЛучший пользователь месяца 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/ru/post/32927
https://helpcenter.websitex5.com/ru/post/224528
https://helpcenter.websitex5.com/ru/post/174621

etc.

.

ciao

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Craig K.
Craig K.
User
Автор
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.

Читать больше
Размещено От Craig K.
Craig K.
Craig K.
User
Автор
 ‪ 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/ru/post/32927https://helpcenter.websitex5.com/ru/post/224528https://helpcenter.websitex5.com/ru/post/174621 etc. . ciao .

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

Читать больше
Размещено От Craig K.