if you have the attachment (image) id, you ca use :
wp_get_attachment_image_src( $attachment_id, $size);
where $size is the smaller version you want. (see http://codex.wordpress.org/Function_Reference/wp_get_attachment_image_src)
If you don’t know the attachment id you may query the database for full image size url :
http://pippinsplugins.com/retrieve-attachment-id-from-image-url/
Related Posts:
- show hide image script after 4 seconds [closed]
- How do I disable responsive images in WP 4.4?
- How to delete resized (cropped) image uploads and prevent future resizing?
- After Moving a Site to Another Domain, All Images Are Lost
- How to display a page’s featured image?
- Featured image shortcode
- How to find attachment by it’s name?
- Change html structure of all img tags in WordPress
- Use Media upload in custom widget on wordpress 3.5
- Theme Customiser Image Control
- How to disable “insert into post” only when selecting the Featured Image?
- Is there a way to define a default caption to all uploaded images
- How to increase media image scale limit?
- Dynamic-Image-Resize Plugin does not output anything
- How to default all users to no link for attachments?
- How to output placeholder image if no featured image set?
- Cannot access the thumbnails of attachment images… Cannot find the reason
- How to place an image into header.php? [closed]
- How to include a picture in a blog post such that it will show in Facebook?
- Remove ‘wp-content/themes/themename/’ from Image path
- Why html tags are being appended to my pictures?
- add_image_size() to crop images into squares?
- How to create a simple slideshow out of a post image gallery?
- Lazyload post thumbnails
- Is there a way to change wordpress image resize settings?
- wordpress media library shows empty images
- How to change the target size of images clicked on in WordPress standard gallery
- Adding different backgrounds for different pages
- Mobile Featured Image Bug
- How to remove p tags around img and iframe tags in the acf wysiwyg field
- If Media Type .GIF
- Pull images from the gallery
- Migrate image from my old blog
- the_post_thumbnail() image sizing problem?
- Imagick vs GD colour issues on image uploads
- How to add image and featured image to post by WP REST API
- Get ALT attribute from title post (code not work)
- How to configure sub-domain for images on Debian Apache VPS?
- Why it doesn’t show media urls on rest Api? (WordPress)
- Resize images in existing posts
- WordPress PNG compression issue
- “Unable to create new image” error in wordpress dashboard image editor
- Fallback image size when using wp_get_attachment_image_src / full size compressed image
- How can I add a ‘Click to Enlarge Image’ feature, with the enlarged image opening in a popup?
- Is there a resolution limit in image resize?
- How to remove header images from displaying (not css or editing)?
- Setting default image size
- Automatically Insert alt attribute above image has h2
- Rebuild thumbnails via WP Cli – how?
- How can I make an image full width inside a paragraph which is 70% (text) [closed]
- Images uploading from media going in wrong folder
- Row background image not showing in mobile browser served from wamp local host
- Get ID for previous/next image link
- adding image to post thumbnail from another server
- Logo is not being displayed in header (Twentytwelve)
- Set Featured Image not opening – Stuck at loading
- Simple Local Avatar Plugin
- Pagination between images (active/inactive)
- Web App mode leaves users stranded when following image links when using WPTouch with W3 Total Cache [closed]
- Always display a picture even if the link is broken?
- How to get rid of undefined variable in previous post image
- My authors need to be able to preview their upload images and manipulate and scale
- Lazy Loading of all Images
- wp_get_attachment_image – enable width and height attributes for an SVG image
- How to remove image size inline style in article and include caption
- Do I need to re-register all my images in the media library after a migration?
- How can I change the header on the pages?
- still need help-images inside wp-content/ uploads/ are not showing up in my media library and uploaded using FTP protocol
- Export wordpress image ID based off keyword search
- Post Images are not showing up whenever I use shortCodes in my posts
- How to get large size of a post’s image?
- WordPress Images Are Not showing After Changing Directory Name
- Adding a URL Parameter to JPEG images in posts
- Delete post if featured image is smaller than Y pixels by Y pixels
- How to use lossless compression with WP_Image_Editor
- image_send_to_editor filter – Unwanted paragraphs and line breaks
- Edit image itself
- Url link to feature image in the portfolio [closed]
- How Do I Auto Generate Thumbnail from First Embedded Image?
- Get the name of an image [duplicate]
- Get an array containing ONLY post IDs of attached images
- Exporting a portfolio with pictures
- Protocol relative url not pulling up images on IE, FF, and OPERA
- Retaining original image size
- Add category description to list of category with taxonomy image
- Images in sub-pages fail to load
- How do add custom class and id to the that is generated from media gallery insert image into post [duplicate]
- How do I get the URL of only the first picture in a WordPress post?
- Adding different classes to different images depending on size for fine control of image layout in posts
- Images getting corrupt automatically
- Thumbnail size keeps resetting automatically
- Delete all thumbnails & regenerate them?
- Can I turn an image into a button?
- Why are some SVG-images not visible in my footer?
- How To Get Feature Image from Blog in Same WordPress Multisite Blog on the Parent Blog?
- WPALLIMPORT Exporting images from repeater field [closed]
- What does WordPress media uploader do to image files on upload?
- Site header logo and parallax image on homepage do not display on iPhone
- image_get_intermediate_size always returns false
- Change of displayed images for webp versions