Thumbnail Image
-
Hi Barry,
Just wondered if you had an idea of when version 1.3.0 will be released? My client is holding off going live with their site in the hope that there’s a way to increase the thumbnail image on the listings page in the new release.
I’ve been trying to do this myself and have been reading through your support answers regarding thumbnail sizes, (Specifically
https://www.ads-software.com/support/topic/changing-size-thumbnail?replies=4
)I have tried to create a filter in my child theme functions.php file with the following code:
add_image_size ( ‘wpcm_vehicle_single’, 250, 200, false );
This doesn’t seem to work though as the thumbnail is still pulling in 100x100px and it has the following srcset:
srcset="....../wp-content/uploads/2016/06/showroom-66x66.jpg 66w, ....../wp-content/uploads/2016/06/showroom-100x100.jpg 100w, ....../wp-content/uploads/2016/06/showroom-150x150.jpg 150w"
(I’ve replaced the url with … )
I’ve also used regen.thumbnails to try and recreate the thumbnails but it doesnt appear to be working.
Can you advise which file includes the default thumbnail sizes for wpcm_vehicle_thumbnail or
wpcm_single_vehicle_large_thumbnail_size?I’ve also tried changing the code in: wp-car-manager/templates/single-vehicle/thumbnails.php
// get image html $image = Never5\WPCarManager\Helper\Images::get_image_html( $attachment_id, apply_filters( 'wpcm_single_vehicle_small_thumbnail_size', 'wpcm_vehicle_thumbnail' ) );
from ‘wpcm_single_vehicle_small_thumbnail_size’ to ‘wpcm_single_vehicle_large_thumbnail_size’
but this doesn’t work either.I’ve resorted to resizing it using CSS but it’s obviously using the original small thumbnail size which ends up looking pixelated and isn’t ideal.
It would be great to be able to specifiy what size image can go on the listings page. (they would ideally like a large image to best display the car)
Do you have a paid/pro version of this plugin?
Many thanks
PS. Is it possible to put a private link to let you see the site?
- The topic ‘Thumbnail Image’ is closed to new replies.