3D FlipBook - My source images have diferent formats .jpg and .png

w***a@gmail.com
2021-02-12
2021-02-15

How I can solve this on pageCallback method, or exists a way to pass the urls array of the images?

Replies

a***r@3dflipbook.net
2021-02-15
2021-02-15

like this:

function pageCallbackFunction(n) {
  var images = [
    'i1.jpg',
    'i2.png',
    'i3.bmp',
    'i4.gif'
  ];
  return {
    type: 'image',
    src: 'http://example.com/book1/'+images[n],
    interactive: false
  };
}
Log In to leave a comment