[Feature Request] Journey Book PDF: photos don’t scale (cropped), cover-title overlap, dropped photos + export options #1716
Replies: 5 comments 4 replies
|
I am currently fleshing out how the entire to pdf/book/other formats could work better, i am open to feedback, you already attached my FR as i can see. This entire better formating and more choices is my next goal for the Journey rework |
|
Great to hear this is next up. I'd be happy to go beyond feedback and actually help build it — I took a look and the Journey Book output all lives in one self-contained file (
Since you're actively reworking this area, I don't want to send a PR that cuts across your direction. Could you share where you're heading — is there a design/branch you're working toward, and would focused PRs be welcome during the rework, or would you rather I hold until the new structure lands? Happy to start small with a single low-conflict fix (e.g. the crop/aspect-ratio one, or "show all photos") if that helps. Either way I can share the sample PDF that surfaced these. Thanks for the great work on TREK! |
|
Sounds good — I actually like the "co-design, then you implement once the TREK team signs off" workflow. With such a small file surface, agreeing on a spec and having one person implement is cleaner than two of us editing On direction: a full visual designer is a great end goal, but it's a big lift — so maybe phase it so users get wins early: Phase 1 — fix the defaults (no schema change). Aspect-aware photos ( Phase 2 — presets + export options. A small set of named per-entry layouts (e.g. full-bleed photo, hero + grid, text-focus, collage) plus global toggles (density, show/hide title / script / stats). Store just a Phase 3 — the visual designer. Drag/resize picture and text blocks that write into that same layout model. Because phase 2 already defines the data, the designer is a UI on top rather than a rewrite. The nice part: if the designer emits a simple declarative layout object (blocks with position/size + a fit mode), the PDF renderer stays dumb and testable, and the same layouts can render both on-screen and in the book. Happy to draft a short spec (layout data model + the phase-1 default rules) as a starting point for the TREK team to react to — want me to? |
|
That structure looks great — splitting it up is the right call, and it maps cleanly onto the phased idea. Rough responsibilities as I'd see them:
The big win of nailing If it's useful, I can draft the |
|
Nice — the split makes this really clean to build on. I went ahead and implemented the Journey Book fixes on top of your To be sure it wasn't just theory, I built the branch + change into a Docker image and ran it against a real 12-entry / 20-photo journey (neutral test images). Before vs after:
I've opened a PR onto your branch so it stacks on the refactor instead of cutting across it: SimMesg20#1. More than happy to reshape it to match where you're taking the designer — it's a starting point, not a fait accompli. Before — cropped, max 3 photos (the subject is cut right out of the purple tile): After — justified rows, every photo, nothing cropped: Export options — the new grouped popover (Layout / Cover / Content): |




Uh oh!
There was an error while loading. Please reload this page.
Type: enhancement / bug
Component: Journey Book PDF export (Travel Journal → Save as PDF)
Version: 3.4.1 (self-hosted, Docker)
Summary
The Journey Book PDF is a lovely idea, but in practice the layout leaves a lot of
polish on the table. On a real journey (12 entries, mix of long text and 0–5 photos
per entry) the output has large empty pages, a cover whose title collides with the
decorative script, and it silently ignores photos beyond the third on an entry.
What I observed
Cover: long titles overlap the decorative script watermark.
With the title “Australië & Bali 2013” the bold title and the large cursive
background version of the same title overlap and become hard to read — the script
sticks out on both sides behind the solid title. Long / multi-word titles aren’t
handled.
Text-only or few-photo entries waste ~half the page.
A4-landscape entries with no photos render the text at the top and leave the entire
lower ~60% blank. There’s no vertical centering, no scaling, and no option to place
multiple entries per page, so a journal with rich text but sparse photos looks empty.
Only the first 3 photos per entry are rendered.
The entry layout is fixed to hero + 2 stacked (
e[0],e[1],e[2]). If an entryhas 4–5 photos, the extras are silently dropped from the book — surprising, since the
journal UI lets you attach more.
Photos are a fixed size and don’t scale — and are cropped.
Photo slots use a hard-coded height (e.g.
height: 45vhfor the duo, similar for thetrio) together with
object-fit: cover. Two consequences:much empty space the page has, so they never grow to fill the generous whitespace
(or shrink to sit alongside long text). The result reads as a small photo block
stranded in a large empty page.
object-fit: cover, the fixed box crops the image —portrait photos in particular get badly cut off (heads/subjects out of frame). There
is no orientation/aspect-ratio handling. Concrete example: an entry photo of an
airplane against the sky is cropped so tightly that only the sky remains and the
plane — the actual subject — is gone.
The pros/cons card can orphan onto its own near-empty page.
When an entry’s photos + text nearly fill a page, the “Could be better / Loved” card
is pushed to a second, otherwise-blank page.
Suggested improvements
gracefully, so long titles stay readable.
decorative script watermark) on export. Some users just want a clean cover photo, or a
title-less book — and it’s the simplest possible fix for the overlap above. Ideally a
small set of export options here: show/hide title, show/hide script, show/hide stat tiles.
scale type up, and/or allow packing multiple short entries per page. Consider a
“compact” vs “photo-book” density toggle.
additional rows or pages), or at least make the per-entry photo count explicit/configurable.
object-fit: contain(matte background) or anorientation-aware layout with real portrait slots, so photos aren’t cropped.
Why it matters
The journal + Journey Book is one of TREK’s most delightful features; these tweaks would
make the exported book look intentional and print-ready instead of sparse, especially for
trips where the writing carries as much as the photos.
Happy to test builds / provide the sample PDF that produced the above.
Related (checked — not a duplicate)
its point 4 mentions “more options on how the PDF looks” but none of the specific
Journey Book layout problems above (photo scaling/cropping, cover overlap, hide-title).
whitespace, but is a narrower/separate request.
PDF, not the Journey Book.
All reactions