You can use add_image_size function to add new image size and can use wp_get_attachment_image to retrieve those custom size image.
Related Posts:
- Get title of post image is attached to
- Retreive tags from attached post for media on page
- How To Retrieve An Image Attachment’s Alt Text?
- How to get attachment file name not attachment URL
- getting attachement images src and add classes
- Check if post has attachments (not image)
- Validate alt text for attachments?
- List most recent image uploads, but only for specific custom post type
- Applying automatic link class to images embedded to posts
- Get attachments (get_posts) and WP 3.5 new uploader
- get post attachments of a particular size
- Change image link: wp_get_attachment_link
- Making images from single.php pointing to an attachment .php template
- wp_get_attachment_image_src always returns false
- Exact image sizes
- Get the size (size in Kb or MB) of an featured image?
- attachments with tags and get_posts
- query attachment images … if no attachments -> get attachments of parent page?
- Edit default image attachment size
- Change code to display image attachment page
- Attachment 0×0 size error [closed]
- Add image attachment to post via coding?
- Removing width and height attributes from wp-get-attachment
- Get post attachment images dimension and use in embed code
- use wp_get_attachment_image() to show attachments
- Adding width and height to wp_get_attachment_image_src
- Get the bare URL for an attachment
- Display attachment resolution size
- How to check if there is image title, caption, description?
- Exclude images from “inserted into post” when trying to get attachments
- How to remove attachments size attribute [duplicate]
- How to redirect ‘file url’ to ‘post url’ i.e. in attachment.php
- Check what attached image size is used
- How do I get all attachments that are used in the current post, not just the children?
- Get attachments for posts that belongs to a specific category
- Query to only return the 2 newest post attachments (images)?
- Clean up images, delete unused image sizes attached to a post type
- Retrieve Image Attachments Getting Post Thumbnail Image First
- Correct attachment size
- Post Gallery list attachments except the one used as post thumbnail
- Get image attachment to a post outside the loop?
- How do I intercept and modify the functionality of wp_get_attachment_image()?
- get_post orderby not working in plugin
- How can i catch (with get_posts) attachment file (pdf, images) from a post when i have only inserted it from media library and it isn’t upload for it?
- Unable to get wp_get_attachment_url to show
- Get Attachment Image Class by attachment id
- Possible to add “Even/Odd Classes” to image attachments via wp_get_attachment_image?
- Can’t sort get_posts by post_mime_type
- changing the default picture size link url
- Get an image from the media library. Struggling with the code?
- How to view exact image dimensions of a media in Admin view?
- Filter not applied to all image sizes
- wp_get_attachment_image_src calling wrong location
- Get attachment URL from attachment Link in WordPress
- Display setting ‘size’ not available in image settings modal
- Hide Image Container if No Image Attachments
- attachment.php & flexslider—linking thumbnail to specific image
- Incomplete attachment page
- How to retrieve “custom url” from image attachment in wordpress
- list of attachments: wp_get_attachment_link works, wp_get_attachment_image does not
- What is the most efficient way to retrieve a group of image URL’s from different attachment ID’s of a specific crop size?
- get_image_tag filter not working
- How to manage attachment relationships for specific posts in WP 3.5+
- Getting a taxonomy’s thumbnail url
- remove missing image attachments
- custom fields for attachments?
- Get attachment ID of author_meta image – Attachment Metadata
- ID of images from gallery
- Open the attachment details modal
- Adding attachment file name to email link
- How to allow specific extensions and file size to wp_mail attachment?
- Return Attachments from Custom Post Type
- Hide “Gallery Settings” and “Insert into Post” button from Attachment window
- Best way to programatically add “rel” attributes to page and post images
- Adding class to next/prev image link in attachment.php
- How to add multiple checkbox elements to media attachments?
- Get attachment next and previous by author only
- Converting Attachment to Images?
- How to set a conditional statement for $attachment->post_excerpt, to check for value?
- wp_mail not sending attachment
- Display random gallery images and its parent post title leading to parent post permalink
- WordPress adds extra width to post images container boxes
- Handling image uploads without thickbox
- How would one change the default url structure of attachments?
- how to get random media id from media gallery
- Is there a function for getting the post/page that an attachment is related to?
- Show last 12 uploaded images on home page, but only from posts
- How to attach images that I “insert from url” into the post?
- Display a post attachment depending on the caption
- File Attachment display title in template
- Stop images from being displayed on the front-end of the site
- How to link images to attachment.php [duplicate]
- Surround uploaded image link with div
- Some images not being returned with wp_get_attachment_image
- Check whether attachment ID is associated with more than one post?
- Setting name of attachment URL
- How to remove attachments from main query via pre_get_posts?
- Show title when inserting single images
- ID of images from gallery
- Custom Fields, Media uploader, Attachments