Image srcset returns false for some images + Image Sizes missing from attachment

Question
I have a weird issue going on in WordPress at the moment. Some images does not return any image sizes, and when using wp_get_attachment_image_srcset it simply returns false. I have no idea why this is happening. What I have tried, however, ...
0
3 months 0 Answers 49 views

How to preview original image size in GRID media mode not thumbnail size

Question
Recently I have deleted all image size that WordPress created automatically excerpt original size that was uploaded to media. Now in the media grid, the image preview is not displayed (Grey colored square display) but the original image is available in ...
0
3 months 0 Answers 47 views

Question
I want to use a default image as a featured image for all those Posts and Pages, where is not any selected featured image from media. I have tried this code in function.php but not working, function filter_post_thumbnail( $html ) { if ... 0 3 months 0 Answers 44 views wp_get_attachment_image_src() with advanced custom fields returning empty Question I am using the advanced custom fields plugin to upload images for an image gallery. I am attempting to retrieve the different sizes of images that are saved in the uploads folder and having problems.$image = wp_get_attachment_image_src(get_sub_field('image'), 'full'); When ...
0
4 months 0 Answers 42 views

Question
I need some serious help. There are certain tube sites like xhmaster pornhub or wordpress based sites like pwetan .com So now i have made list of specific post urls that are needed. But the problem is they display featured ...
0
4 months 0 Answers 52 views

srcset shows original image url only

Question
My website's post thumbnails shows urls as original url only, as shown in the next example: <img width="450" height="450" src="https://example.com/wp-content/uploads/2020/07/example.jpg" class="attachment-shop_catalog size-shop_catalog" alt="" srcset="https://example.com/wp-content/uploads/2020/07/example.jpg 150w, https://example.com/wp-content/uploads/2020/07/example.jpg 380w, https://example.com/wp-content/uploads/2020/07/example.jpg 450w, https://example.com/wp-content/uploads/2020/07/example.jpg 100w, https://example.com/wp-content/uploads/2020/07/example.jpg 32w" sizes="(max-width: 848px) 33.33vw, (max-width: 1150px) 50vw, 25vw" /> I have tried changing the ...
0
5 months 0 Answers 54 views

How to change the format of thumbnails into wordpress theme?

Question
dear community. I have question about changing the format of thumbnail into WordPress theme. I want to change all generated images format into a theme to *.webp. I already have generated *.webp images. Where I can do it into WordPress? Where I ...
0
5 months 0 Answers 57 views

Auto Generate Thumbnail

Question
I wanna make soft corp of the thumbnail so that use the other plugins to that image corp. There is plugin I use , "Regenerate Thumbnail", after regenerating then there still old files exist. I gonna looking the backend Media, ...
0
5 months 0 Answers 65 views

Thumbnails Not generated when sharing on WhatsApp

Question
When I share my website link on WhatsApp, the thumbnail image is not generated in WhatsApp but the heading and content are generated. I cannot determine what is causing this. I have tried disabling apps and everything. Is this an ...
0
5 months 0 Answers 63 views