Closed richd67 closed 1 year ago
There seems to be a problem in displaying images? Just getting the message of 'Image not found!' Images do still exist in the Assets folder so seems to be an issue in the linking to the image?
If I re-index the image very briefly appears before returning to the Image not found! message.
What's the links toward your images?
Here is an example
Ahh that didnt show properly will try in () ()
A screenshot would work if copy-paste here doesn't :)
Have you setup asset alias directories previously?
no alias directories
It all worked fine on 0.8.8
Humm, it's weird if you confirm the file exists in the asset
directory, and the asset
directory is in the root directory of your graph.
Does restarting Logseq work?
cc. @xyhp915
I know weird? I have tried re-index. Reload of the programme. I have also tried re-pasting the image into the page, thats the screenshot. That is two instances of the same image one showing Image not found and the other the link? I have about 30 images on different pages with the same problem. Not yet found an image that is unaffected.
Sorry to hear that. Is this happening on another graph?
What's the text link of the "image not found" block? Also, is this graph being served with built-in file syncing?
The link for the image not found is identical Switched to a graph that I have on my google drive where there is a common image and it is fine it renders properly? So its something to do with this graph?
Could it be something to do with the filename conversion? As I suspect that has changed IMG-20221004-104809.jpg to IMG_20221004_104809.jpg
We need more information about the graph, e.g. where it host on? Any special config?
It's case-insensitive on most file systems on most OS (e.g. Windows, macOS)
The graph is on my local root c: drive as I have sync. Nothing particularly special, several plugins and Awesom UI
Running Windows 11
Inrterstingly just noticed that these three files are of the same image same timestamps but different filenames? Thsi is all from the assets folder. This is the same image from the previous screenshot.
Another problem possibly related? Just found a number of pdf highlights/pastes not rendering both snapshots and text highlighting.
Seems to work ok for new highlights ths issue is with historic ones.
It can greatly boost the debugging process if you'd like to provide a minimum reproduce-able graph for the issue
Ok I will give it a go, when you say minimal is that in terms of pages or other aspects like plugins etc? I have also just had a thought that I will have the same graph synced to my laptop but it will still be running 0.8.8. So just looking now whether the issue is present there.
So just started laptop and the image rendered properly, I deliberately did not sync but as far as I can tell everything else is the same except logseq version 0.8.8 vs 0.8.9.
I have also opened a new graph on my pc attached a couple of images to the Journal page and it renders ok. So the issue seems to be with my existing graph?
This leaves me pondering the solution? Is there something I can do with a sync rollback?
Just went back to my main graph and it initially worked, but when I navigated to another page and then returned I was back to the same problem of image not found
I have now rolled back to 0.8.8 and images have returned permamently
This leaves me pondering the solution? Is there something I can do with a sync rollback?
We have no solution for now as we have no clue to locate / reproduce the issue.
I note that someone (ItsMeMario) on Discord had the same problem and has also rolled back to 0.8.8
Same problem on Linux.
I'm having the same issue. It renders correctly when I first open the graph, but when I click on the block with the link to the image it again says image not found. It seems to be looking for them in 'C\logseq__colon\Users[my graph folder]\assets' which doesn't exist - I think the first part of the address is wrong?
@hambo2 Important finding. Seems the dir path is mistakenly encoded. Can you provide the expected dir path in your case?
@cnrpman I think it would be "C:\Users[my windows username][my graph folder]\assets\image_1666199999181_0.png". Hope that's the right info and thanks for looking into it
Seems like decoding is missed in someplace https://github.com/logseq/logseq/blob/d53ac94bfc019926f85690224deb5f3517b8bb3c/src/main/frontend/handler/assets.cljs#L23-L27
cc. @xyhp915
Hi @hambo2 @richd67 Thank you for your details! Try to be fixed here #7043. It will be reviewed soon!
I reported a similar problem when publishing: https://github.com/logseq/logseq/issues/7150
Closing since #7043 is merged.
Discussed in https://github.com/logseq/logseq/discussions/7028
This discussion was created from the release Desktop/Android APP 0.8.9 (Beta Testing).