-
Search Results
-
Hi,
Does the theme support an easy way to show Woo Commerce Product Category thumbnails to be displayed on a page using an element or something similar
If I load this page, it displays properly on a PC and via Dev Tools. If however I view the page on an Android phone, the thumbnail of the Hotel Nevada near the bottom of the page is not shown – https://imgur.com/l350MY4.
The img code is:
<img loading="lazy" decoding="async" aria-describedby="caption-attachment-7644" class="size-square wp-image-7644" src="https://www.americanroadtrips.net/wp-content/uploads/2019/11/Hotel-Nevada-180x101.jpg" alt="Hotel Nevada at night" width="180" height="101" srcset="https://www.americanroadtrips.net/wp-content/uploads/2019/11/Hotel-Nevada-180x101.jpg 180w, https://www.americanroadtrips.net/wp-content/uploads/2019/11/Hotel-Nevada-300x169.jpg 300w, https://www.americanroadtrips.net/wp-content/uploads/2019/11/Hotel-Nevada-80x45.jpg 80w, https://www.americanroadtrips.net/wp-content/uploads/2019/11/Hotel-Nevada-495x279.jpg 495w, https://www.americanroadtrips.net/wp-content/uploads/2019/11/Hotel-Nevada-150x84.jpg 150w, https://www.americanroadtrips.net/wp-content/uploads/2019/11/Hotel-Nevada.jpg 700w" sizes="(max-width: 180px) 100vw, 180px">The image is inserted on the page as the 180×101 px size thumbnail, with a lightbox link to the full size media file. I use the Simple Image Sizes plugin and also remove multiple Enfold images from being created in functions.php
However when the original image was first uploaded a Portfolio size image was created of 495×279 px. As you can see, this is referenced in the img code. Since then, to save space I have deleted all unnecessary thumbnails. Thus Hotel-Nevada-495×279.jpg no longer exists in Uploads.
I then edited the page, deleting the image, saving and updating. I did this to remove the reference to the 495px image from srcset. I then added the photo back onto the page and updated.
The code on the page, despite me deleting the photo and then re-adding it, is still referencing the 495 px image, per the code block above (and you can verify this on the live page).
The reason on Android no image is shown is because there is no 495 px file. But I know Enfold is trying to load this file because I created a file called Hotel-Nevada-495×279.jpg from the 180 px size image then uploaded it, refreshed the page on my Android phone – and the ‘false’ thumbnail was then seen. I’ve since deleted this.
1. Primary issue – why is Enfold even trying to load a 495 px wide image in responsive mode and not the 180 px image specified on the page?
2. After deleting the image from the page then re-adding it, why is Enfold still adding a reference to srcset to an image size that does not exist?
3. I have regenerated the thumbnails for the image and a 495 px size is not being created – the image stats then says “5 images reduced by 114.3 KB (66.4%)” yet View Stats lists 6 thumbnails, including a Portfolio at 495 px wide, even though the file does not exist. The image’s Attachment Metadata has a reference to ‘portfolio’ – is this the problem and if so why does regenerating the thumbnails not remove this given the Portfolio size is no longer allowed?
Topic: Preview Videos
We are a filmproduction and i would like to use thumbnail videos instead of thumbnail pictures as you can see here:
graupause.comWe use the Enfold Child theme and i didnt find a solution for this. Is there one or do we have to customize the theme?
Thanks!Hi,
When I tried to follow the instructions on the following link: https://kriesi.at/support/topic/add-featured-image-to-search-results/, I was confused about where to find the loop-search.php file to place the code. I hope the Enfold team can help clarify this.
Thank you.
