Problem with a plugin image scaling
-
I’m using “REAL3D Flipbook” plugin on my WP website with Tracks theme. The plugin generates flipbooks from PDF or Image files with several options to embed them in posts/pages using a “[real3dflipbook id=’XYZ’]” code.
– Normal container DIV embed where it generates a box with the flipbook
– Full screen flipbook on page load
– Lightbox popup on click – this is where I’ve got an issue.In the Lightbox mode the plugin generates a thumbnail with set height to click on, which opens the book. The thumbnails work fine in desktop browsers but in mobile browsers they don’t scale with the rest of the page. Here’s how it looks like:
I tested it on Huawei P30 Pro and Pixel 3 using different browsers. My phone’s screen res is 1080px wide, the thumbnail image is only 453px wide and yet it looks like this.
I have switched my page to several other themes to test it and the thumbnail worked fine, so there’s seem to be an issue with Tracks forcing this size through CSS.
The Flipbook plugin has an option to set a Custom CSS for lightbox thumbnail image. The current default one is display:block;
Another issue is that it’s always aligned to the left, even if I place it as:
<p style=”text-align: center;”>[real3dflipbook id=’XYZ’]</p>
Any help with this would be greatly appreciated.
The page I need help with: [log in to see the link]
- The topic ‘Problem with a plugin image scaling’ is closed to new replies.