You could add a meta box to the post add/edit screen below the featured image box to allow selection of size via a dropdown select menu. You could generate the list from available sizes (via get_intermediate_image_sizes
), or just use your small/large strings. The data would be saved as post meta and you would simply get_post_meta()
to get the selected size, then pass that result to the thumbnail function as the size parameter.
Related Posts:
- Add class name to post thumbnail
- Delete original image – keep thumbnail?
- the_post_thumbnail responsive srcset not populating with custom image size
- Set custom name for generated thumbnails
- How to add multiple image sizes of the same size with add_image_size
- change set_post_thumbnail_size according to post type admin page
- Can’t extract and set SVG dimensions
- Getting Thumbnail Path rather than Image Tag
- How to crop thumbnail height to auto with set width
- Image uploader with “Set Featured Image” link on front end
- adding an id to the_post_thumbnail
- How can I display my featured image correctly inside my single posts?
- Featured image upload finished hook
- Generate thumbnail for images with the same size as thumbnails
- Implementing Zurb’s Interchange Into WordPress
- How to get_posts having post thumbnail?
- Display the first image from a post in RSS feed
- Filter For Featured Image
- add_image_size and add_filter(‘image_size_names_choose’, ‘my_custom_image_sizes’) not working with wordpress 3.5.2
- Custom post type thumbnail / Media Library WP_DEBUG notice [closed]
- Add body class based on existance of post thumbnail. Code works but receiving PHP Notice
- Delete all thumbnails for a post
- How to display thumbnail + tags + title of a child page?
- Archive Thumbnail Gallery
- How to delete posts that does not have a thumbnail?
- WordPress Uploader Editor shows broken image
- How do i show wordpress attachments from current post?
- How to get full absolute url for post attachment?
- WordPress thumbnail settings change
- Using concatenate with WordPress Thumbnail
- Looking for Add Title Tag on Feature Images on WP
- how to use the new image size
- Is it possible to nest get_previous_post()?
- how i can add title to my featured image?
- Notice: Trying to get property of non-object when trying to get thumbnail URL
- Output post thumbnail (add class)
- How to set an equal image size for a Fallback Image as used for the Featured Image(dynamicly)
- How can I see where in my themes and plugins certain image sizes are used?
- How do I remove featured images and captions from a wordpress RSS feed?
- Custom image size in the_content loop
- Display featured image file size, extension, filename, type, orientation?
- Video playing from featured image?
- get_the_post_thumbnail(‘thumbnail-name’) always returns empty string
- array set title and alt in the_post_thumbnail
- Get thumbnail image according to the screen
- Displaying Post Featured Images on All Pages
- Image Alignment on Featured Images
- Trying to show link “Use as featured image” from Attachment window from t31os script
- Use Featured Image of Post as Header Image
- Recent posts on homepage: different thumbnail based on logged in status and post category
- How to display featured image description and title?
- Images uploaded on frontend display correctly but not in media editor.
- get_post_thumbnail does not display thumbnail
- Make image full width
- Facebook Does Not Grab Correct og:Image
- WordPress 4.4 responsive sometimes doesn’t work
- get_the_post_thumbnail($post->ID, ‘thumbnail’); not working. How can I solve this?
- Is it possible to add the_post_thumbnail to style.css?
- Getting featured image of particular size.
- Different thumbnails for index and article page
- Smaller thumbnail in the_content
- Get post featured image id with $wpdb
- Attachment Image using wrong src?
- Create an instance of add_image_size
- Unable to set Custom “Link URL” for Featured Image, and More?
- On what point (hook) does the_/has_post_thumbnail() load?
- First Image not loading on Mobile Version of Website
- Thumbnails not being generated for PDF files
- Make 1st Slide of PowerPoint file to be the Post thumbnail preview image
- Is it possible to set Featured Image using HTML?
- Smush Featured image constraining in image file that is being loaded on page
- Set featured image from auto generated video thumbnail url php
- Use Post Title as alt text for Featured Image
- How to cropped thumbnail image without distorting it?
- WordPress default srcset with hard crop
- wp_get_attachment_metadata()[‘image_meta’] fetch WP metadata or EXIF?
- White Blank screen and issue to get thumbnail in
- Adding a class to certain featured images
- Set Featured Image Based on Custom Field
- Post thumbnail on specific template
- Using lower resolution/size images for thumbnails on posts index
- WordPress auto picking featured image
- How to have featured image show in standard RSS Widget
- Link from Thumbnail to Post not working
- Featured Image metabox (postimagediv) doesn’t appears when it should
- Thumbnails not showing in blog
- Featured Image inserted through custom query, does not show up
- How to import linked images and make them featured -> automagically
- To CSS Style on the image uploaded on a Post under Content Section
- Change role’s settings influence post-thumbnail
- Wrap Featured Image in a Link
- Thumbnail images
- Featured Image Thumbnail Sizing
- Featured Image Isn’t showing with cropped, How to show it?
- How to modify Media Library images DPI [ image quality down to make small in size ] [closed]
- How to add text & call to action button to featured image on homepage?
- Featured image as background in a div using headway
- php code for image fetching
- Strange image artifact on font-page thumbnail image
- Images thumbnail not cropping square