add imgmax=d query parameter for photo downloading

for downloading the original, full-size images.