/>
selected_image_id ) { $arr_image = wp_get_attachment_image_src( $this->selected_image_id ); // and if there is a valid image if ( $arr_image ) { // show the image and set the id as param value $img_url = $arr_image[0]; $img_class = 'attachment-thumbnail'; $img_style = sprintf( 'width:%dpx', $this->used_thumbnail_width ); } } ?>
Quick Featured Images Pro.