Compress image sizes and add author photos from img directory