Adding a high-quality featured image to your WP Travel plugin’s trip gallery can indeed make a significant difference in the visual appeal and professionalism of your content. Here’s how you can set the size of the Single Trip’s featured image.

The latest version of the WP Travel plugin (v9.1.0) provides a convenient hook for resolving issues related to low-quality featured images.

To enhance the quality of your trip gallery and thumbnails, you can use the following code snippet. This code should be added to the functions.php file of your child theme or can be implemented via code snippets.

add_filter( 'wp_travel_trip_single_page_thumbnail_background', function(){
	return wptravel_get_post_thumbnail_url( get_the_ID(), 'full' );
} );

Note: The site may experience slower loading times due to high-quality images.

By using this code snippet, you can control the size of the featured image displayed on the single trip page. The ‘large’ size is often a good choice, as it provides a good balance between image quality and file size.

The code ensures that the full-size image is used instead of a smaller, compressed version, guaranteeing a high-quality display of the featured image. Using attractive images can result in higher engagement and better click-through rates for your trip content

By following the above simple instructions you can now set the size of Single Trip’s featured image.