Hello,
I am also trying to increase image for single car listing page.
I have 4 thumbnails in a row showing 150x150px images, I have changed Settings > Media > Thumbnails size to 300 x 300px.
Also I tryed using this code above, however thumbnails in Single car page still show image 150x150px.
The code is something like that:
<a href="https://websiteaddress.com/wp-content/uploads/2018/10/IMG_5110.jpg" class="zoom first" title="" data-rel="prettyPhoto[vehicle-gallery]"><img width="150" height="150" src="https://websiteaddress.com/wp-content/uploads/2018/10/IMG_5110-150x150.jpg" class="attachment-wpcm_vehicle_thumbnail size-wpcm_vehicle_thumbnail" alt="IMG_5110" title="IMG_5110" srcset="https://websiteaddress.com/wp-content/uploads/2018/10/IMG_5110-150x150.jpg 150w, https://websiteaddress.com/wp-content/uploads/2018/10/IMG_5110-300x300.jpg 300w, https://websiteaddress.com/wp-content/uploads/2018/10/IMG_5110-100x100.jpg 100w" sizes="(max-width: 150px) 100vw, 150px"></a>
So there is 300×300 images, but I don’t understand how to change to use SRC of 300×300.jpg, and not 150×150.jpg
I want to full-width(100%) thumbnail images in mobile screen, but when I change width in CSS it just expands 150×150.jpg image and it’s blurred.
So how I can force plugin to use 300×300.jpg images for showing thumbnails?
-
This reply was modified 6 years ago by
ram11111.