The extension I chose to add to my dog photo generator is a download button. This requires my js code to write to a link and replace its href file. It takes the same link which is provided to the API and sets the href attribute of the correct link with the image link. The image in its current form travels to the link where the user can download it personally. As far as I can tell, this is a client-specific error and may download directly on some devices or browsers. One way to solve this problem might be to use iFrame or embedded links.