From what I understand, you just want to have a thumb created at 120 x 120 when an image is uploaded using the new post type. Then use that image as the featured image on the custom post pages.
Just add a new image size
add_image_size( 'companies_thumb', 120, 120, true);
Then in the post type template for companies you just call the thumb you defined.
<?php the_post_thumbnail('companies_thumb'); ?>
Related Posts:
- How to disable WordPress from creating thumbnails?
- How to Dynamically Resize WordPress Image On-The-Fly (custom field/theme option)
- Display Category Thumbnail and links in Woo commerce
- media_sideload_image generates blank?
- Post thumbnail outside the loop
- How do I add the featured image to the_content after the first paragraph?
- Showing a placeholder/default img, if no featured image is set
- Re-order media links?
- How to show featured image CAPTION only if it exist
- Add Image Dimensions to Media Library Tab on Media Upoader
- Add post title as alt tag for featured image
- Featured image for news page
- Fallback default image when there is no featured image
- Adding schema itemprop image to the_post_thumbnail with filters
- Multiple Post Thumbnails plugin and attachment error
- WordPress resizes image to the same size as uploaded
- Possible to swap in a placeholder image globally for the_post_thumbnail_url if one doesn’t exist?
- How to set an attachments parent post id in code?
- How to use wp_get_attachment_metadata for thumbnails
- How to change the height of featured image in Twenty Eleven child theme
- Wrap post thumbnail with
- Use wp_remote_get to add image to media library
- Can a thumbnail of an animated gif be animated?
- Is it possible to get local image URL when also having photon active?
- Featured Image Size Conditional Tag?
- How can I call a thumbnail/featured image to be a background image?
- create new post using rest API and set featured Image from an external link
- Replicate featured image functionality
- Woocommerce – remove the default image placeholder? [closed]
- Photo gallery with Featured Images
- Need clear explanation about medias/files/attchments
- Remove link from post images
- Call Featured Image from Parent Page
- How to add post featured image url to inline background url()?
- Allow author to choose his featured image size
- How to get cropped thumbnail source for custom post type
- Using thumbnail functions inside a shortcode
- Featured image for first post only
- Featured Image Not Working when loaded from sub-domain
- How can I use a static (ish) URL for the featured image for a post?
- get_the_post_thumbnail ignores my default thumbnail size [closed]
- Remove the link to a featured image if and only if it’s not a gif
- How to query posts with featured images
- hrecipe microformat tag to “featured image”
- Server B handling add_image_size() differently than Server A
- Add class to custom thumbnail
- the_title() is not displaying over the_thumbnail
- Show posts image attachments
- Choose to Display Post Thumbnail?
- get_the_post_thumbnail wordpress 3.5
- How do I make images appear in the beside blog post summaries?
- Featured Image meta box shows at the bottom?
- How can I assign bloginfo path or thumbnail path to a variable and call it in markup?
- Use the_post_thumbnail as background image in LESS CSS [closed]
- How to get featured image thumbnail to open larger version in attachment page?
- How To Use YouTube Url Stored In Custom Field To Get Video Image and Set it As Featured Image
- Display post thumbnail in foreach loop
- Add image size array to a portfolio thumbnail in combination with Masonry Jquery Plugin
- Define width of featured image thumbnails, but also make responsive?
- Add title to image post
- How to attach images that I “insert from url” into the post?
- If no featured image, add one of the default images into DB
- the_post_thumbnail(‘medium’) still gives thumbnail-size img
- Featured image for social sharing ot author archive page
- How can I specify the width and height of the Featured Image in TwentyTwelve theme?
- My Gallery Photos are showing in the post’s excerpts
- the_post_thumbnail not resizing
- How to add featured images to posts from a category
- WordPress stopped generating image thumbnails after changing hosting environment
- How do you code a featured image into an XML as a jpg link, instead of using a data-id number?
- My theme header is stuck on a low resolution image?
- Change featured image when changing viewport
- Adding guiding text to the ‘Featured Image’-box in the backend
- Thumbnails regenerate wp_generate_attachment_metadata
- Using the_post_thumbnail do not rollback to original image if specified thumbnail does not exist
- Get author image from corresponding article in thumbnail
- Missing image size
- water mark on featured post image in wordpress
- Making a ‘featured image’ become the image for a full banner (top of page) image in a blog post?
- How to change text of Remove featured image
- Add space under featured image in singel post
- Genereate widescreen featured images in different sizes
- set_post_thumbnail() shows Unattached on backend under Media
- How to get the URL of a each custom image size of a featured image
- Recent posts show thumbnail
- Add Featured Image from Existing wp-content folder
- Featured Images missing on migrated site
- Post thumbnail won’t resize to fit
- Trouble Retrieving Thumbnail URL on Front-Page
- Pointing Existing featured images to s3 bucket
- Displaying All Parent Pages as Featured Images
- Featured Images not appearing
- Editing featured image
- Using set_post_thumbnail inside save_post action gets overwritten
- WordPress save thumbnail but don’t show it [closed]
- Get all images from posts with maximum number and without featured image
- Display featured image as post thumbnail
- Scan for first image in post and display it [duplicate]
- Change featured thumbnail based on screen size
- Show a featured image with “Link” Post Type?