Thread: Image gallery
View Single Post
Old 09-04-2023, 06:00 PM   #1
azimuth
Enthusiast
azimuth plays well with othersazimuth plays well with othersazimuth plays well with othersazimuth plays well with othersazimuth plays well with othersazimuth plays well with othersazimuth plays well with othersazimuth plays well with othersazimuth plays well with othersazimuth plays well with othersazimuth plays well with others
 
Posts: 33
Karma: 2538
Join Date: Aug 2023
Location: NW US
Device: none
Image gallery

Has anyone made an image gallery that works well in epub (that works well for the more popular eReaders)?

We tried refining a gallery for our epub needs, and our goal is to have dual side by side images in an epub with a pagebreak immediately after the two dual images.
Results link.
JS Fiddle

Tested on ADE, Pocketbook, Aldiko, Moon+, Kobo, (all on Android). ReadEra, and Eboox renders each image full size. Only Moon+ was a puzzle. No other platform (iOS, linux, etc) is tested.
The fallback for lesser eReaders is to: 1. either render a full page image, 2. or two images per page (one below the other). Some lower quality eReaders fail. I don't know how well it does on iOS eReaders or Linux eReaders.

I realize there are valid points as to why a gallery of this type may be of little use in an epub, but I see value to go a step beyond with epub creativity (i.e. CSS frameworks, color theme, etc) whenever possible.
azimuth is offline   Reply With Quote