Skip to content

Images not working on certain parts #5852

Discussion options

You must be logged in to vote

Are you using ActiveStorage? Solidus (by default) delegates all the image URL generation and file handling to Solidus. The most common issue that people have is that they have configured ActiveStorage such that it creates expiring URLs, rather than static public URLs. Because Solidus has fragment caching on the frontend, those expiring URLs are cached, work until they expire, then stop working. I don't know anything about Google Cloud Storage, so I can offer any specific advice about configuring that backend.

I would confirm that this is the issue. If it is, you can either remove the caching or (preferably) configure the ActiveStorage provider so that it creates public URLs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SamuelAierizer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5851 on September 09, 2024 20:58.