Questions tagged [thumbnails]

Automatically generated smallest size of an image.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Second featured image in wordpress for Archive display [closed]

I'm using the "Multiple Post Thumbnails" plugin for wordpress and I want to use a second featured image for archive page previews; a smaller icon image. I just don't know what code to use in ...
1
vote
2answers
4k views

Getting specific image thumbnail urls of attached images

I am using the Manual Image Crop plugin to set thumbnails for images. I am not using any images as 'featured images' however. I have a number of thumbnails saved to each image. If I use ...
0
votes
0answers
7 views

Store wordpress images by size folders, can't get the slug by size

I used the post explained here, I can not comment there as I don't have enough reputation, so I created a new topic. When using this code, i am well generating the thumbnails in subdirectories by ...
0
votes
1answer
569 views

Force WordPress to strip/remove EXIF/IPTC metadata when resizing thumbnails

I am using Imagick with WP 5.0.3. Since version 4.5 WordPress uses Imagick to create/resize thumbnails and it keeps EXIF/IPTC metadata (using GD, metadata are removed). WordPress keep EXIF/IPTC ...
0
votes
1answer
23 views

Why Wordpress suddenly changed sizes of thumbnails?

I'm consistently using 3000x750 images for the standout images for my entries. I've recently added a new post with such image (I'm 100% sure about its size) and I've realized, that for some reason it ...
9
votes
2answers
3k views

Set custom name for generated thumbnails

Is there any filter available to set the naming convention of those auto generated thumbnails? Something like this: thumbnail_150x150.jpg -> thumbnail-s.jpg thumbnail_300x300.jpg -> thumbnail-m.jpg ...
1
vote
1answer
17 views

How to get Gutenberg Gallery Block to output thumbnail images?

By default, the Gutenberg Gallery Block outputs full size images in 3 columns. This is excessive, especially on mobile, so I would like to set it in the theme or function file to output thumbnails. ...
1
vote
1answer
34 views

Open Image Thumbnail in a new page, while clicking on the link

I am trying to open the thumbnail image on a new page using WordPress. For example. I have all the detail of a single post on a page and if someone clicks on the link given on a single page it opens ...
9
votes
2answers
34k views

How to set thumbnail image for a (child) theme

I've created a basic child image for twentytwelve, and it works as expected. The only issue is that it does not have a thumbnail image in the themes page: How do I set a thumbnail image for my child ...
1
vote
2answers
6k views

How To Add and Display Category Image

I have created a WordPress plugin to create a widget area to display category names (total nmbr of post) and description.Now I want to show the category image just after the category name and after ...
0
votes
0answers
41 views

how to regenerate webp et-pb-portfolio-image

How to regenerate webp? I problem not generate format webp : et-pb-portfolio-image: 400×284 pixels <img width="1" height="1" src="https://www.test.com/wp-content/uploads/...
0
votes
0answers
26 views

Images not showing after wordpres update 5.6

<img data-original="This image is never shown" src="This image is always visible" class="lazy img-responsive" alt="Alt"> After wordpress update lazy load ...
1
vote
2answers
2k views

How to use thumbnail size of image if I'm only using src to get image

I have a custom field for an image, and using it this way: <?php $item_img = get_sub_field('image'); ?> <img src="<?php echo $item_img ?>" /> But I want to use the thumbnail ...
1
vote
2answers
2k views

How can i place Feature Image under title field in wp-admin?

I am creating my custom Image slider, in register_post_type() -> i use : supports = "title,thumbnail"; i use only two thing in supports, "title,thumbnail" But post-thumbnails default position is ...
0
votes
2answers
2k views

Adding thumbnail to search results & changing content.php

Looking to discover how to alter my content.php code to add the thumbnail image of the specific posts to my search results located here for example: https://divesummit.com/?s=suunto&submit=Search ...
0
votes
0answers
8 views

How to show gallery in image attachment page?

And how to show all images from article/post at the bottom of this image page (plus NEXT, PREV button)?How to show gallery in image attachment page? Demo here
0
votes
0answers
15 views

Define image sizes in Woocommerce (current version 4.8.0) for Custom Theme

My images are blurry and after searching around, I understand that the image sizes are defined somewhere in WooCommerce (maybe here: /includes/class-woocommerce.php). I've also found this, relating to ...
0
votes
0answers
17 views

WordPress images & thumbnails not displaying (possibly caching)

I am having some problems with my websites displaying certain content, you can see for yourself at my site; https://uniqueteambuilding.com.au/. To summarise three errors occur; The activity thumbnail ...
0
votes
2answers
6k views

How to Make Thumbnail of Post Stay Animated

When I upload my post with an animated .gif, the thumbnail generates into a new image and doesn't stay animated. It will stay animated inside the post which is great. It seems to resize the .gif image ...
0
votes
1answer
706 views

Get a different size of Image thumbnail while working with custom metabox

I am using custom metabox for a page in my new project, I am using it for uploading image, and attaching it to the page. It's working fine, I can select image or upload the image using WordPress' ...
1
vote
0answers
1k views

How to make thumbnails of uploaded animated gifs NOT animated

I am having an issue where I want the thumbnails of my animated gifs to NOT be animated. I tried to talk to hostgator about helping with this issue and they simply said that I must find a solution ...
0
votes
1answer
1k views

Change WooCommerce Image Size in One Product CAtegory

I have one Product Category that needs to have 300 x 300px uncropped thumbnail images. All of the other products have 300 x 300px, cropped thumbnails. This would be on the Shop page and the Category ...
0
votes
1answer
1k views

Clickable product image with hover effect

I have a theme with woocommerce. Some products have more than one photo, and when user hovers over such products, those photos (that are in the photo gallery) will rollover. I want to make the ...
0
votes
1answer
545 views

the_post_thumbnail returns full sized image, how to debug?

This is a weird situation. I have defined add_theme_support('post-thumbnails'); add_image_size('190x280',190 , 280,true); add_image_size('400x600',400 , 600,true); Uploaded images to post as ...
0
votes
2answers
65 views

SVG not displaying in Media Tab in Backend

I addes this code to allow SVG Uploads to the Media Library of wordpress: function upload_svg ( $svg_mime ){ $svg_mime['svg'] = 'image/svg+xml'; return $svg_mime; } add_filter( 'upload_mimes', '...
0
votes
0answers
10 views

Display Multiple Photos as Featured Image when mouse moves on to it post

I need to add some photos (3 or 4 photos) to the post thumbnail (featured image) and should be displayed image 1, 2, 3 & 4 when mouse moves on to the post thumbnail...How can I do that. Please ...
0
votes
1answer
15 views

Search results thumbnails different size

Seems that according to the nature of my theme, whenever I do a search query and a result from my Projects section appears, the pictures appear huge and even break the footer! Whereas if I do a search ...
0
votes
0answers
68 views

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

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 ...
0
votes
1answer
36 views

How to use default image as featured image by implement some code in function.php

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 ...
0
votes
1answer
12 views

White image when I share my site

when I share the link to my WordPress, it shows a white image as the thumbnail. How do I alter this image?
0
votes
2answers
2k views

wp_get_attachment_image_src() with advanced custom fields returning empty

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. ...
0
votes
0answers
54 views

srcset shows original image url only

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/...
0
votes
1answer
28 views

How to change the format of thumbnails into wordpress theme?

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....
0
votes
0answers
17 views

Auto Generate Thumbnail

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. ...
1
vote
0answers
136 views

Thumbnails Not generated when sharing on WhatsApp

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 ...
0
votes
0answers
27 views

Wordpress Multisite: Images moved to /sites/1?

I noticed that my older images are no longer getting resolved by Wordpress 5.3.4. - the file doesn't exist on that path and 404 gets returned. For images that were originally uploaded to https://www....
0
votes
1answer
11 views

How can i place square Feature Image withing the body of post aligned top left or top right in wordpress?

I want to place a featured image of my news website below the title inside the post aligned right or left top, right (as you see in any news webpage) now it is placed below the title, but it is big, ...
0
votes
0answers
26 views

Can't add thumbnail theme support

<?php function currentYear(){ return date('Y'); } function reisblog_thema_support(){ //Dynamische titel wordpress add_theme_support('title-tag'); // Thumbnail bij een post ...
18
votes
7answers
20k views

How to disable WordPress from creating thumbnails?

I've been looking around the net for a long time on how to disable WordPress from creating multiple thumbnails. I've seen in most tutorials to set all the images to 0 in the media section. I have ...
0
votes
0answers
19 views

How to get absolute path with timthumb in wordpress

I am currently using timthumb.php with my wordpress. It is working fine for absolute path as well as relative path, But my issue is that TimThumb generate my thumbnails/ images with an relative path: ...
0
votes
2answers
3k views

How to change product thumbnail size in storefront theme

I was trying to display product thumbnails in 230px (as per recommendations by GTmetrix). Since, I am using storefront the default value is declared in storefront/inc/class-storefront.php The code ...
0
votes
0answers
8 views

Discoloured thumbnails on resize

When uploading images to Wordpress it is altering the colours dramatically of images. I have tried: using the compression default and 100% for JPEG within Wordpress. making sure the colour profile ...
17
votes
2answers
6k views

Generating Thumbnails for video

I have checked and read lot of post about one single issue that is far more complicated than it seems. I have a website that uses a lot of videos taken from wwebsite as on the internet ^^ (services ...
0
votes
1answer
64 views

Remove curved edges from thumbnails in gallery (elementor)

Im using basic Elementor and it is automatically curving the edges on the thumbnail images in my gallery. I would like clean crisp edges, does anyone know how to do this. Here is the example on my ...
2
votes
1answer
77 views

How to make programmatic image upload generate thumbnail and sizes?

I have written a function to add a remotely-hosted image to the Media Library. It does so. However, it does not generate a thumbnail in the Media Library - and I believe standard practice should also ...
7
votes
3answers
3k views

New image size version only for the Featured Image file

I'm worried about too many files created when adding a new image size. All uploaded files will generate the new size, I need a specific image size only for the file set as Fetured image, is there ...
0
votes
0answers
33 views

Rebuild thumbnails via WP Cli - how?

I can use wp media regenerate to regenerate thumbnails. But I need to rebuild first, before I can regenerate. In the GUI of WordPress I have two buttons (if I have AJAX Regenerate Thumbnails plugin): ...
0
votes
0answers
17 views

display div tag only if post has thumbnail

I would like to display post thumbnail and excerpt side by side but even if post hasn't got a thumbnail its div still there to be seen. How could I disappear thumbnail's parent div? So far I've tried ...
0
votes
0answers
18 views

Image resize using WP_Image_Editor class V.S. using AWS Lambda

I'm using EC2 + S3 + ELB + CF. I would like to resize thumbnails before uploading to S3. In this case, 1) Resize image before uploading to S3(It uses EC2's memory using Wordpress native image ...
0
votes
0answers
24 views

unsharp thumbnails after uploading image

I googled for a whole day and didn't found a solution. I tried a lot of plug ins and so on, but didn't get it. If I upload for example that image here: https://deermylove.com/wp-content/uploads/...

1
2 3 4 5
8