While updating the application to remove references to images stored on ImgBB.com, it became clear that simply replacing one set of hard-coded values for image references with another set is not an ideal solution.
I think it's safe to assume that Azure is going to be more reliable than imgbb.com, but this is more about providing flexibility regarding the hosting of static file assets.
I'd like to have a base URI stored in the config so that wherever possible we're just storing the image name and adding it as a suffix to the base URI. That would make it possible to host the images somewhere other than Azure, and to switch hosts more easily if necessary.
The immediate problem of hard-coded refs to imgbb.com has been dealt with now at least.
While updating the application to remove references to images stored on ImgBB.com, it became clear that simply replacing one set of hard-coded values for image references with another set is not an ideal solution.
I think it's safe to assume that Azure is going to be more reliable than imgbb.com, but this is more about providing flexibility regarding the hosting of static file assets.
I'd like to have a base URI stored in the config so that wherever possible we're just storing the image name and adding it as a suffix to the base URI. That would make it possible to host the images somewhere other than Azure, and to switch hosts more easily if necessary.
The immediate problem of hard-coded refs to imgbb.com has been dealt with now at least.