I think I might have figured out the problem. You could be trying to post an image that you uploaded directly from the mobile app, but the app doesn’t give you an option to view the direct link to the image.
It is the one that ends with the actual image file extension.