Try to add custom thumbnail size with unlimited(very big) hegiht and width in functions.php with following code:
add_theme_support( 'post-thumbnails' );
add_image_size( 'custom', 9999, 9999 );
It will not crop any images. So you can use it as the_post_thumbnail( 'custom' );
This method looks rough but you can use if other ways don’t work. And if you already have images, you can use regenerate thumbnails plugin.
Related Posts:
- The the_post_thumbnail without srcset?
- Get the first image from post content (eg.: hotlinked images)
- How to get gallery images?
- add_image_size is scaling, even though crop is set to true
- Unexpected width and srcset attributes for the_post_thumbnail();
- How do I get gallery thumbnail URL and change the default thumbnail size?
- How to set dimensions of the post thumbnails (featured images)
- Reasons why all thumbnail sizes aren’t working
- How do I Add images uploaded in the post to a default custom field
- How do I turn a post thumbnail into a background image?
- What is the meaning of WordPress’s recommended css classes and where are they applied?
- Theme thumbnail in dashboard
- Set a featured image as a replacement to the header image
- How To Pick Custom Size Of Uploaded Image In Theme Via the_post_thumbnail();?
- Change image size depending on page
- How to disable thumbnail filter for a specific template part or image size?
- Are seven additional image sizes are too many?
- Change Image Sizes for Mobile Theme
- How to make excerpt image be full size instead of thumbnail?
- How to add cropped custom header image?
- Is there a way to serve different resolution images to different devices?
- How can I scale down the width of images in bulk that are embedded in posts throughout the site?
- Add image URL automatically to custom field?
- theme directory fallback image outputs url and not the image
- Can’t upload images on new theme
- Full width thumbnail
- Featured Image Module Randomly Disappears
- Any disadvandages if I style the wordpress align classes without img and .wp-caption prefix
- Show post thumbnail only if it exists using timthumb
- I want to resize post featured image without cropping image. How?
- WordPress API Menu/Submenu Order
- What WP folder can I use to write files to?
- wp_get_attachment_image_attributes not working for me
- Specify image dimensions
- register_sidebar ignores ‘id’ and ‘class’
- Display a different theme for not logged-in users
- Best practice (forward compatibility) for theme options
- Add colors to existing color palette without replacing it
- Single Page WordPress Theme – Using page templates
- Confused about image sizing business in WordPress
- Returning Variables back into a template
- How to handle thumbnails
- Which theme foundry has clean coded themes, where code is poetry [closed]
- What page should I use for a contact form?
- Retrieve data using wpdb to use for customizer controls
- How can a Theme Contain no Header File or Footer File?
- Version control for both Vagrant config and themes being developed [closed]
- Is there a way to activate different theme for specified users? [closed]
- how can I remove the sidebar from my wp homepage [closed]
- “add_theme_support” for custom footer color?
- How to add infinite scroll?
- get_option in header.php not returning value from customizer
- Internal error 500 accessing Theme > Customize
- Default image size not working
- Theme Development: Starter Content after hook
- Change locale by detecting viewer’s browser language setting and let them choose prefered language after
- Why is it needed to enqueue parent stylesheet in child theme?
- How do I build a post_thumbnail based archive? [closed]
- WordPress Unite Theme: Footer isn’t sticking [closed]
- Is accessing theme and using customizer GPL distribution?
- How to enqueue javascript for WP Customize options sidebar?
- WordPress 500 Internal server error when activating custom theme [closed]
- Changing Header Image Every N Minutes/Seconds
- Do not display post images on front page
- Customize how a WordPress theme looks like in the Theme Selector
- How to set a page as homepage in stead of the newspages?
- WordPress Theme Validator?
- Template for landing pages
- Plugin does not work in custom theme
- How to show a manageable list of images on a post?
- html5-reset theme does not show the image [closed]
- Remove link on full-size images
- What exactly is “wordpress theming”? [closed]
- Valid SQL query not returning results
- Recommended sidebar / content widths
- What is the difference between Twenty eleven & roots framework?
- Is there a list of default generated Gutenberg block CSS? Unable to align video blocks
- How to change listing type permlink?
- Adding popup support to the theme
- How to make updatable custom WordPress theme?
- Is it possible to echo a woocommerce prouct attribute discription?
- Thumbnails are hard cropped not matter what
- How do I remove header/page-title image in farvis theme? [closed]
- Images use & location, on new wordpress theme
- On wordpress, how do i require specific dimensions from user uploads only
- WordPress Theme Developments – Start from another theme
- Slider should be display in home template [closed]
- Modify comments_popup_link output
- Create image with imagepng() (fails at header)
- Can you create a custom page with content in the center already defined?
- Trouble Retrieving Thumbnail URL on Front-Page
- RSS feed url showing page not found. How to solve it?
- Retina ready for uploaded images which are cropped
- How to convert that page to a wordpress template? [closed]
- Toolbox theme using printif statement – help needed understanding code block
- Add rel to all images in a post
- How to Create a Multi Purpose Theme?
- Display Page featured Image as well as Posts featured Image
- Custom Single Page Portfolio Theme [closed]
- How do I send out an update for my custom wordpress theme?