diff --git a/templates/single-property/preview.php b/templates/single-property/preview.php index bd4d5c36..71e0591b 100755 --- a/templates/single-property/preview.php +++ b/templates/single-property/preview.php @@ -1,8 +1,9 @@
get_gallery(); - $image_size = opalestate_get_option( 'opalestate_thumbnail_size', 'medium' ); + $galleries = $property->get_gallery(); + $thumb_image_size = opalestate_get_option( 'opalestate_thumbnail_size', 'medium' ); + $single_image_size = opalestate_get_option( 'featured_image_size', 'full' ); if ( isset( $galleries ) && $galleries ): ?> @@ -46,13 +47,13 @@