Add the download button and the open button to download or open profile picture and media in the posts, stories, and highlights in Instagram
< Feedback on Instagram Download Button
Temporary solution: Open the posts in a new tab
I have the same problem too, open the posts in new tab doesn't fix it for me, as it opens the previous photo in new tab.
Was having the same issue myself, specially on my Android phone. Try this test fork, and see if it fixes your issue as well. Then y252328 can modify the code.
REALLY PERFECT, GOOD JOB!
Many thanks for giving this code, it helps me a lot on downloading the photos, but I encounter a bug, when IG post contains multiple photos, for example 7 photos in one post, it does not download the 3rd and 5th photos but instead it download the previous photo, pls do take note and wish this will resolved.