Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gallery images disappear, even though they're still there in the backend #21034

Closed
1 task done
petruut opened this issue Sep 18, 2024 · 8 comments
Closed
1 task done

Comments

@petruut
Copy link

petruut commented Sep 18, 2024

Issue Summary

image

The website itself also omits them entirely. These were added just fine, displayed just fine, and are available just fine in the backend folder structure as expected.

Steps to Reproduce

  1. Add gallery + images successfully
  2. Images eventually disappear (their placeholder remains, and the images are available in the back end, but the gallery does not display them anymore)

Ghost Version

latest

Node.js Version

?

How did you install Ghost?

docker

Database type

Other

Browser & OS version

No response

Relevant log / error output

No response

Code of Conduct

  • I agree to be friendly and polite to people in this repository
@github-actions github-actions bot added the needs:triage [triage] this needs to be triaged by the Ghost team label Sep 18, 2024
Copy link
Contributor

sagzy commented Sep 18, 2024

Hey petruut, thanks for creating the issue.

I have just tried repeating the same steps on the latest Ghost version, and I haven't been able to reproduce the bug.

Could you provide a video recording of the bug you're experiencing? Any other information that could help us reproduce it?

@petruut
Copy link
Author

petruut commented Sep 18, 2024

thanks for the quick reply - is there any way for me to look at the code in the gallery/ logs on galleries already with this issue on the website?

(also, is there a way to relink images already in the /content folder on ghost, without always re-reuploading new copies?)

Copy link
Contributor

sagzy commented Sep 18, 2024

In the browser, if can open your dev tools, then open the Network tab, you can see backend requests to ghost/api/admin/images/upload/ for each image that is being uploaded in the Gallery card.

CleanShot.2024-09-18.at.13.07.09.mp4

Relinking images from your content folder is unfortunately not supported at the moment.

Copy link
Contributor

sagzy commented Sep 18, 2024

Once published on your website, you could inspect the source of the relevant <img> tags:

CleanShot 2024-09-18 at 13 13 02@2x

@petruut
Copy link
Author

petruut commented Sep 18, 2024

re the networking: I can only see assets for the 4 images that are actually displaying (even though the gallery is formed of 7 images, all available in the /content subfolder that ghost uploaded them to)

image

also, I can't see any errors etc. but then again, I don't know what I'm looking at.

re inspecting the source:

image

so it looks like, by the time the website is rendering, it only renders the 4 images (as opposed to the 7)

@petruut
Copy link
Author

petruut commented Sep 18, 2024

In the browser, if can open your dev tools, then open the Network tab, you can see backend requests to ghost/api/admin/images/upload/ for each image that is being uploaded in the Gallery card.

CleanShot.2024-09-18.at.13.07.09.mp4

Relinking images from your content folder is unfortunately not supported at the moment.

my networking screenshot is from the published website. re the upload in the backend, I know that works because I can see the images in the file manager in the right /content folder

Copy link
Contributor

sagzy commented Sep 18, 2024

Hm, unfortunately I'm not seeing how to help further with these elements, as I don't have a way to reproduce the bug at the moment. Does this happen for you with a new post as well?

@sagzy
Copy link
Contributor

sagzy commented Oct 8, 2024

@petruut 👋

Given that we have not been able to find a clear reproduction of the bug and that it seems environment-specific, we suggest that you open a thread on the Ghost forum to get more help, if you're still experiencing the issue.

@sagzy sagzy closed this as completed Oct 8, 2024
@github-actions github-actions bot removed the needs:triage [triage] this needs to be triaged by the Ghost team label Oct 8, 2024
@sagzy sagzy closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants