added in gallery resolution