Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [thumbnails]

Automatically generated smallest size of an image.

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

Trying WP editor to load full size image (not '300x300')

The site used to have a plugin that created a lot of image sizes from uploads (150, 300, 800 px etc). I removed these images from the uploads folder bc they were not used by the theme. Now, the WP ...
Ludo's user avatar
  • 61
0 votes
0 answers
23 views

Why are PDF thumbnails over-saturated?

Often then colors of PDF thumbnails generated by Wordpress are wrong, they look over saturated. Is there something I can do to correct that, or is that caused by the PDF itself ?
mike23's user avatar
  • 5,981
1 vote
1 answer
27 views

WP "optimizing" PNGs into thumbnails 5X larger than originals - FIX

As I am about to add over 50,000 product photos to a site in development, I am more than concerned about the thumbnails being generated and “optimized” by WordPress. Between WordPress, Woocommerce, ...
Swapot's user avatar
  • 11
0 votes
2 answers
201 views

How can I get the Media Library backend to show larger thumbnails?

I have a pretty simple need. On the admin screens, my media gallery is reducing my picture thumbnails to about 145x145 so they'll fit in 6 columns across the screen. The only way I can get a good look ...
John Smith's user avatar
0 votes
0 answers
29 views

Thumbnail appearing small, not reflecting what is set in elementor

I have a strange issue that is occurring on my site and after plenty of googling I have not been able to find the answer hence my post here. The first screenshot is when I go to edit the page within ...
karnage's user avatar
0 votes
1 answer
210 views

How to change all the images in post content to full/orginal size - Thumbnails are broken

I use Regenerate Thumbnails plugin and remove all my old thumbnails size. Now, in my new theme I use new thumbnails for feature images, But all inline images in my post content is broken. How can I ...
och's user avatar
  • 39
0 votes
0 answers
402 views

Adding multiple featured images on custom post type with Avada Theme

I have a custom posttype called "mitglied". I use ACF Pro to add the featured image on the single mitglied custom posttype with _thumbnail_id. I use the Avada Theme, and Avada supports ...
LovinQuaQua's user avatar
3 votes
1 answer
128 views

How can I add custom sizes for PDF thumbnails generation?

I define custom image sizes in my theme like this : add_action( 'after_setup_theme', 'mwm_custom_image_sizes' ); function mwm_custom_image_sizes() { add_theme_support( 'post-thumbnails' ); ...
mike23's user avatar
  • 5,981
0 votes
0 answers
109 views

Add custom css class to wp-list-table row for Media Screen

How to add class to the row of WP List Table in Media List page like the following. Add custom css class to wp-list-table row for custom post type Thanks
Tristup's user avatar
  • 101
0 votes
0 answers
68 views

Getting post-thumbnail hentry category-error - How can I fix

When Inspecting elements I notice that every thumbnail is showing "post type-post status-publish format-standard has-post-thumbnail hentry category-error". I am not getting any clue to deal ...
SK21's user avatar
  • 17
0 votes
1 answer
72 views

Images thumbnail not cropping square

I'm trying to create a related post file with squares images. In the functions.php I've added the following code: function my_theme_setup() { add_theme_support('post-thumbnails'); // Add ...
Mari's user avatar
  • 11
0 votes
0 answers
99 views

Thumbnail size keeps resetting automatically

Thumbnail size on my website is controlled by a setting in the theme. I set them - width 550 and height 339. When I publish a new post, the thumbnail size changes automatically. Now I set the same ...
SK21's user avatar
  • 17
0 votes
1 answer
393 views

Delete all thumbnails & regenerate them?

Is there any safe way to delete all thumbnails and then regenerate them. I tried to use plugins like Thumbnail Cleaner, but after using it + regenerating via popular thumbnail regenerator plugin; I ...
Deb's user avatar
  • 3
1 vote
1 answer
121 views

Generate metadata for cloud images

The current situation We use the AWS SDK for PHP to store media files on S3 instead of the server's local storage, and use the wp_handle_upload filter to point the inserted attachment to the S3 file ...
Jaafar Abazid's user avatar
0 votes
0 answers
30 views

How to crop thumbnail size, from both width and height sides

I would like to crop in particular dimensions but I need that to be done on both height and width of the image. Here is a small illustration of what I am trying to do: When I try to use this snippet: ...
dragoweb's user avatar
  • 249
0 votes
1 answer
20 views

The URL of images on my website changed after being set as featured image

When I upload the image, it is https://www.mywebsite.com/wp-content/uploads/2022/03/image-name.jpg After I set it as a featured image, it is like: https://www.mywebsite.com/wp-content/uploads/...
YoYozzz's user avatar
0 votes
0 answers
172 views

Thumbnails not being generated for PDF files

I have installed all the required extensions like ImageMagick, Imagick, and Ghostscript. I used a plugin to test the requirements and everything passed. ImageMagick: Installed Imagick: ...
Dev Guy's user avatar
  • 141
0 votes
1 answer
200 views

Thumbnail size problem Desktop vs Mobile site

I have a problem with the thumbnail I setup Customizing ▸ WooCommerce ▸ Product Images The desktop page version shows a smaller thumbnail and the mobile site show the biggest version, Google page ...
Gabo's user avatar
  • 1
0 votes
1 answer
531 views

How do you code a featured image into an XML as a jpg link, instead of using a data-id number?

All I want to do is get Wordpress's featured image XML code to use a jpeg link as the meta_value, instead of the image gallery data-id number. Basically change this code: <wp:postmeta> &...
fhonics's user avatar
1 vote
1 answer
3k views

How to use SRCSET with get_the_post_thumbnail()?

My wordpress theme uses get_the_post_thumbnail() to display Thumbnails on Posts. I have set custom image sizes but running it through Lighthouse gives following error. Serves images with low ...
Aditya Agarwal's user avatar
0 votes
0 answers
127 views

Thumbnail image doesn't show up in Shortcode output

A 'WordPress Shortcode' is being developed to display 'YouTube Channel Thumbnail' and 'Latest Playlist Thumbnail' when supplied with 'YouTube Channel ID' as follows. [yt_insert channel_id="...
Praveen Dias's user avatar
2 votes
0 answers
125 views

Regenerate thumbnails unexpected resolution (96 x 96)

I'm using WP CLI wp media regenerate to resize my thumbnails. I've noticed something a bit weird. The original image I upload is a JPEG with a resolution (DPI) of 72. The images that are generated ...
Sam's user avatar
  • 2,136
2 votes
1 answer
142 views

Does thumbnail regeneration edit the database?

I'm using the WP CLI command wp media regenerate to resize all of the images via the /wp-content/uploads directory. Are the new image dimensions registered in the database in any way or does the ...
Sam's user avatar
  • 2,136
1 vote
1 answer
1k views

Why are thumbnails not being generated for PDF files?

I'm trying to figure out why one of my WordPress sites is not generating thumbnails for PDF uploads. It works on my dev and staging sites. When comparing them, the only difference that I can find is ...
eljefejb's user avatar
  • 641
1 vote
1 answer
760 views

How do I get a smaller size of an avatar image

I have a function that creates a bio-line at the top of every post. One part gets the avatar of that user, that he uploaded in WordPress (I use a plugin so people don't need to use Gravatar for this). ...
TheKidsWantDjent's user avatar
0 votes
2 answers
145 views

Thumbnail is showing outside its div instead of inside it

I'm echoing the post thumbnail here: echo '<div class="post-image right">' . the_post_thumbnail('featured-portrait-large') . '</div>'; And it works, but it's outputting the ...
Christina's user avatar
-1 votes
2 answers
2k views

WP is showing wrong image dimensions

Several times over time I changed sizes of thumbnails WP generate when images are uploaded, always setting bigger size. Recently I set Thumbnail Width 600px width and Medium size Max Width 1800px. ...
Advanced SEO's user avatar
0 votes
0 answers
34 views

Why is the actual number of thumbnail images not matching what is store in an attachments metadata?

Occasionally my plugin needs to delete an image and its thumbnails images. However sometimes there is a discrepancy between the number of thumbnails an attachment has and the number of thumbnail files ...
AlanP's user avatar
  • 711
0 votes
0 answers
26 views

Apply manual image cropping not to thumbnail but medium_large size

When cropping an image in wordpress you can apply the changes to all image sizes at once, the thumbnail (150 x 150) or all sizes except thumbnail. I would like to be able to select other image sizes ...
RaWa's user avatar
  • 3
0 votes
1 answer
25 views

Custom thumbnail crop offsets

There are some WordPress plugins that allow custom crop offsets for specific thumbnails and images. I want to do this programmatically in a theme as it inserts thumbnails with very specific crop ...
strarsis's user avatar
  • 103
0 votes
1 answer
119 views

Hide thumbnail on search results when thumbnail not set - using Oxygen

I am using Oxygen to build a search results page. I am very new to CSS and PHP editing. I just floated an image right for the first time. So please forgive my ignorance. I want to stop the thumbnail ...
Pat Birgan's user avatar
0 votes
1 answer
106 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 ...
Spook's user avatar
  • 103
1 vote
1 answer
121 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 ...
Pak WorkForce's user avatar
2 votes
1 answer
479 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. ...
Neil Hillman's user avatar
0 votes
0 answers
113 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 ...
user200573's user avatar
0 votes
2 answers
1k 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', '...
Niqql's user avatar
  • 53
0 votes
0 answers
27 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 ...
Evonlanka's user avatar
0 votes
0 answers
133 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/...
Hiren Hiden's user avatar
0 votes
1 answer
100 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 ...
Shady's user avatar
  • 21
0 votes
1 answer
343 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 ...
Puneet's user avatar
  • 47
0 votes
1 answer
47 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?
user193177's user avatar
0 votes
1 answer
40 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....
Zee Dee's user avatar
0 votes
0 answers
25 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. ...
RachC's user avatar
  • 113
1 vote
0 answers
477 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 ...
JoomlaHero's user avatar
0 votes
0 answers
322 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....
Peter Gerhat's user avatar
0 votes
1 answer
13 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, ...
Suraj Prakash's user avatar
0 votes
0 answers
57 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 ...
user10629239's user avatar
0 votes
1 answer
322 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 ...
rosanna's user avatar
  • 11
2 votes
1 answer
841 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 ...
Robert Andrews's user avatar
1 vote
0 answers
177 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): ...
FooBar's user avatar
  • 444

1
2 3 4 5
9