del-plsphpstackoverflow.com/q/79103141/2943403 see asker's comment under the answer, cannot repro or needs debugging details. Page is not going to be particularly helpful to future readers as it is not very clear or minimal.
flag-plsspam OP edited to remove spam, but stuffed up and the spam URL is now incorporated into the image URL, which still functions. Another spam URL is still in plaintext in the question. stackoverflow.com/staging-ground/79108541