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

Move site images from imgbb.com #29

Closed
DavidAJohn opened this issue Jul 17, 2024 · 2 comments
Closed

Move site images from imgbb.com #29

DavidAJohn opened this issue Jul 17, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@DavidAJohn
Copy link
Owner

I'm regularly having issues with imgbb.com returning "503 Service Unavailable" messages with some or all of the site's images.

If it had been a one-off I might have accepted it, but this is happening far too often now.

It's time to move them all - either to another free provider like Cloudinary, or perhaps just to Azure.

@DavidAJohn DavidAJohn added the enhancement New feature or request label Jul 17, 2024
@DavidAJohn DavidAJohn self-assigned this Jul 17, 2024
@DavidAJohn
Copy link
Owner Author

Cloudinary add a suffix to each file, which makes things a little awkward because I'd still have to specify the exact URL of each image when referencing it in an image tag.

I'd like to eventually move to a situation where just the filename is specified and a root URL can be prefixed dynamically.

Azure it is then...

@DavidAJohn
Copy link
Owner Author

Any hard-coded references to imgbb.com in the code have now been dealt with, but there are still references in the Products database that would need to be updated manually.

These references come from the 'products.json' seed data file.

I've created a separate issue for making the image paths more dynamic here: #30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant