• Resolved terry789

    (@terry789)


    Hello,
    I am trying to show a gif in my pdf file via your plugin.

    In CSS I placed the following code:

    .gif1 {
    background-image: url('https://mysite.com/wp-content/uploads/2020/12/felix.gif');
    width: 360px;
    height: 270px;
    position: absolute;
    left: 100px;
    top: 100px; 
    }

    In HTML I put the following:
    <div class="gif1"></div>

    I now see the box with the correct dimensions on the page, I also see the movement of the Gif, but the image is displayed much too large.

    How can I fit this Gif, which actually has the same dimensions as the “box” (360×270) shown?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author iberezansky

    (@iberezansky)

    hi, css layers have 3d transformation so the dimension are a little different. you need to think that book page width is 1024px and calculate size of your items relatively from this.

Viewing 1 replies (of 1 total)
  • The topic ‘Gif in 3D flipbook’ is closed to new replies.