BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Images not showing in pdf after update

Open npelov opened this issue 1 year ago • 0 comments

Describe the Bug

I've installed bookstack long time ago. I don't know exactly the starting version but it was installed on centos 7 with php 7.3. I did have few problems while upgrading but I finally managet to upgrade to BookStack v24.05.4 with php 8.2. I didn't have png support in php which is why images weren't showing correctly. I added png support and now images show on screen but not in pdf exprot. In PDF I see Image not found or type unknown. The problem is only with old images - uploaded before the update. When I create a new page and upload new images the images show just fine in pdf.

Steps to Reproduce

I'm not sure

Expected Behaviour

Images should show in pdf

Screenshots or Additional Context

the image below is named image-1556486627237.png this is how it looks in the pdf: image this is how it looks on the wabsite: image

Old images are in directories named '2019-04-Apr' '2020-02-Feb' - the month is mentioned twice - as number and name. Permissions are ok, uploading works, new and old images have the same permissions and mode

Browser Details

Version 129.0.6668.70 (Official Build) (64-bit)

Exact BookStack Version

v24.05.4

npelov avatar Sep 28 '24 14:09 npelov