If you know the image ID, you could try this function: http://codex.wordpress.org/Function_Reference/wp_get_attachment_image_src
Related Posts:
- Filter to remove image dimension attributes?
- Change WordPress image URLs via filter
- Always use for post images
- Change html structure of all img tags in WordPress
- Default Image Link Removal
- Remove title attribute from images
- hook into completed image upload filter
- Need help building a filter to edit the output of “image_send_to_editor”
- Filter Media Library by author or post_parent
- Preview Image Path in Admin Section
- How to display a shortcode caption somewhere other than the_content
- Alter image output in content
- How can I remove the image attachment ALT field?
- add data-attribute to all images inside the_content()
- Filter to modify post_title after image upload?
- Change html structure of all img tags in WordPress
- Disable wordpress image sizes generation
- Extend core block attributes in post content
- What’s the proper way to use the get_image_tag filter?
- Can I the caption shortcode to set caption to a data attribute, and with the image’s alignment intact?
- How to get image ID to use inside wp_read_image_metadata()?
- Is there any action/filter hook to use when an image gets edited in the editor?
- How to create ‘Local’ filters for WordPress srcset sizes in template parts?
- How to add custom classes to figure element only if image has caption?
- Change align classes for images
- How to filter the image embed code based on link type
- Add custom text in the media library image meta area
- WP 5.3 Removing Default WordPress Image Sizes
- Filter for post_thumbnail: link to small src and add data-attribute [duplicate]
- Remove Image Sizes in Media Settings Page
- How can I use wp_save_image_editor_file filter?
- How to stop WordPress from completely overriding my tags in my templates?
- Is it possible to enable the ‘Link To’ field under ‘Attachment Display Settings’ for a Featured Image?
- Prevent WP from wrapping html in caption shortcode after ‘image_send_editor’ filter is applied
- How can I change the to for lazyload wp smilies
- How to display a warning when an uploaded image is too small?
- How to change an image source when rendering on frontend?
- How to change Gallery image url in product page ? In function.php?
- How to get title of images in post content
- How to generate alt attributes with php / filters?
- How to trigger “wp_handle_upload_prefilter” filter when uploading an image programatically?
- js alert in add_filter function for image_send_to_editor
- Dinamically modifying attributes of images on posts
- How to attach post ID to image links in WordPress tinymce editor
- image_send_to_editor filter – Unwanted paragraphs and line breaks
- How might one programmatically set the link for all images in all posts?
- Surround uploaded image link with div
- Removing image dimensions from `the_content`
- Rename uploads filenames to POST-ID on upload
- I tried to move the featured image below the paragraphs but now it is displaying twice
- How to add a link to media file for every image inserted in content?
- Replace image with its alt text?
- Get field added via attachment_fields_to_edit filter in Gutenberg
- Neither intermediate_image_sizes_advanced or intermediate_image_sizes filter is firing
- ‘Add Media’ to post – filter images
- ‘apply_filters’ is breaking some shortcodes/HTML but not all
- get attachment title based on attachment id
- Media Upload Folder – how to manage
- Wrong image dimensions in Insert Media after add_image_size()
- PHP Fatal error: Call to undefined function download_url()
- How can I hide media library images from general users?
- Rename image during upload using date and time stamp?
- Get author ID with attachment ID
- Show Post Excerpt in Image Attachement
- WP 3.4 has missing photo data
- How to add image id class?
- wp_get_attachment_url with specific image_size?
- Get meta data from image
- Bulk edit Gutenberg single images to change from linking to media file to attachment page
- Fuzzy Images in WordPress 4.4
- In Wordress one author can not see the other’s author uploaded images through media library
- How to add missing dimensions to all images to avoid cls?
- Prevent Image Pasting in RichText Component
- Why are images created by WP larger than the original uploaded image?
- Replace image caption with its title and description
- Removing featured image from gallery?
- Facebook og:image issues after https change [closed]
- How to use Facebox in WordPress theme?
- Can I register a new thumbnail size and have it be an option in “Add Media”?
- How to make Custom Loop not crop featured images?
- WordPress keeps resizing my 947×947 image down to 500×500 (full-size option)
- How do I display the featured image from an image gallery using a reference in code? (example within)
- attach several images to post + gallery
- How to change background slider image when hovering on text?
- SQL: How to find all attachments that are not used in any posts/pages/custom_post_types
- How to add element to the list of adjacent images?
- Responsive Images – Defining
- Why do images inserted in the post content via the_content() go off the max-width?
- WordPress Javascript displaying an image Question
- Using a full-width hero image that can be changed in the dashboard by a user
- Resize External Image
- Fatal error: Allowed memory size in PHP when allocating less
- Resized images not working – 404
- Caption Shortcode: what filter to change the image size?
- Background image call problem
- Change the image for a certain URL
- How to make an image bigger with wp_get_image_editor
- Images have dissapeared from media library and site
- Media Library Issues
- Convert all images on S3 to webp format