fixed photo download option

Now image links end with an extension, apparently.