WebSite X5Help Center

 
Laird. Ernst Olivarius S.
Laird. Ernst Olivarius S.
User

Gif - header - dont work  en

Auteur : Laird. Ernst Olivarius S.
Visité 1010, Followers 1, Partagé 0  

Why dont selfmade gif/animation file work in the header ? 

When I just find a gif animation online it works, but not when am making it my self. The gif I did made do work when I open it in a web browser or test it localy on my pc.

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

I have found that GIF images work fine in WX5, but only if placed at original size.

If you can prove this works you may need to recreate the gif at exactly the size required?

Lire plus
Posté le de Esahc ..
Laird. Ernst Olivarius S.
Laird. Ernst Olivarius S.
User
Auteur

The gif I want to use is in same size as orginal.

I do se that WX5 change the name of the file when I upload, Is that a problem ?

Lire plus
Posté le de Laird. Ernst Olivarius S.
Esahc ..
Esahc ..
Moderator

I agree, for reasons I do not understand your gif becomes a static image if placed in the header, it is also a static image if placed in the header in step 1 template style template structure

However

In step 1 template style, template structure, header background you can place it and it will maintain animation.

For your consideration, if placed in the header and the size is set to 350x423 in the current versions (v2019.3.??) animation works, it continues to be animated even at reduced size in the various responsive widths.

Hope that helps

Lire plus
Posté le de Esahc ..
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(It > En) ... it can also be done like this, to be able to use the image in all sizes and positions ...
... attach the GIF image to the project, leaving the "files" folder proposed by default ...
... insert an HTML Object in the header, and paste this code into this object:

<img src="files/right.gif" width="100" />

... you can customize the width and height measurements, and you can also use percentage values (%), for example width="100%"

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪