add media and fix image sizes