Compressing images and adding FB metadata