Hello,

I am trying to create a book in which pages have 597x845 pixels.

When I display the book the images in each page are cropped..It seems images only fit perfectly when the size is 640x720?

Thanks in advance,

Duarte Garin

CommentFileSizeAuthor
#2 Node-id-Problem-Flip-Book.png10.95 KB56rosa

Comments

l_arbalette’s picture

Hello Duarte,

I faced the same problem when trying to setup my first book properly, until I understood that I needed to setup 2 parameters under Site Configuration -> Megazine3 viewer -> Book tag attributes (global default):
pageheight="720"
pagewidth="640"

or maybe
pageheight="845"
pagewidth="597"

in your case ?
Did you try that ?
and then, the consequence may be that the book is too large for your screen, but in that case, you can enable the LiquidScaling feature by adding in the same block something like zoommaxscale="2.0"
zoomminscale="0.5"
The smooth transition from the min scale to the max scale is guaranted by the 2 images that you have to load in the 1080 field and the 720 field on each pageflip page. Since your images are not x720 but x845, I guess that you should load 597x845 images in the 720 or 1080 field, and whether 896x1268 or 299x423 in the other one, depending on what you're expecting in term of zoom capabilities...
but I'm not sure : let me know your findings !

EDIT1 : what I said is wrong. See thread #956582: Resolution of uploads

56rosa’s picture

StatusFileSize
new10.95 KB

Hello l_arbalette,

how did you get the node id in there please? I mean in the "back cover id".

It won't accept my dimensions because it "can't load node". And the section for the node id is highlighted in red.

Thanks a lot

P.S.: Please see the file attached

56rosa’s picture

Hello,

Can someone explain to me how to size properly the PageFlip book?

I went into admin/settings/pageflip/megazine3, then Book tag attributes, and set the size of my page there. However, even when I have the image sized according to the size that I have in the book tag attributes, it does not give me the same size when I open the PageFlip Book.

For example, I have the images sized 556x720.

So, then I have the Image(720) and Image (556) in the Image field for Megazine3.

But, it slightly squashes the image (PageFlip page), and so, it's like I need to mess around with the size in the Book tag attributes now, to make it work.

I don't think that it's supposed to happen, or what am I doing wrong please?

Thanks a lot

l_arbalette’s picture

Hello Duarte, hello 56rosa,

I said something wrong above.
See thread #956582: Resolution of uploads.

Regarding the back cover node id, i don't know : I left this field empty, since I don't want all by books having the same back cover...

hanskuiters’s picture

About the node id: look up the node id of the BOOK page you want as the last page of your book. Then on the settings page, only type the NUMBER (whitout node/). That should do it.

56rosa’s picture

Hello Capono,

Yes, I understood that in the end!

Thanks for replying though.

adamdicarlo’s picture

Title: Pages are always of the same width? » Page width and height are hard-coded
Version: 6.x-1.0-beta1 » 6.x-1.x-dev
Assigned: Unassigned » adamdicarlo
adamdicarlo’s picture

Title: Page width and height are hard-coded » Allow configuring width and height of pages
Category: bug » feature
adamdicarlo’s picture

Status: Active » Needs review

Committed global configuration that allows specifying page width and height in pixels for low and high resolutions:
http://drupalcode.org/project/pageflip.git/commit/1fc26c795c8d0f374f726d...

Anybody want to test it and tell me if it works for you?

adamdicarlo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.