Since you know the location of the image on the disk you can use wp_insert_attachment to insert your big image to the media library. By default this will generate also several smaller versions of the big image that you might not need but this is the easiest way to make all the media related plugins to be aware to your image.
Related Posts:
- image_size_names_choose filter doesn’t show
- Image width tag is less than the image pixel width – why?
- resize from small images to large
- Featured images get shrunken
- wp_get_attachment_image_src returns the wrong image
- Intersept image upload and generate retina image from source
- How do you alter the default WordPress thumbnail?
- Recalibrate _wp_attachment_metadata Image Dimensions
- WordPress lowers image quality
- add_image_size() in custom theme is not generating and saving any thumbnail
- WordPress not using edited image
- Change the default-view of Media Library in 3.5?
- List of available events for wp.media
- Which filters or actions to use after a media upload and delete?
- WordPress 3.5 attachment_fields_to_edit and media_send_to_editor
- Why is wp_get_attachment_image_src not working with my custom size (add_image_size)
- How to upload an image in the plugin’s options page
- WP 3.5 media uploader API set selected item
- How can I hide media library images from general users?
- How can I attach images to a post from the media library?
- Remove the columns in media library
- How to rename an image attachment filename using php
- Using WordPress as a document library
- Admin Media grid view images won’t load
- WordPress function: limit size, only jpg, jpeg, limit of uploaded files per account
- Change default screen option value for media items per page (in media library)
- Making the Add Media Link URL into a checkbox
- Cannot access the thumbnails of attachment images… Cannot find the reason
- Show ids of displayed media library items
- how to download all media files into my computer
- Add image to media library from URL in uploads directory
- How does the media library determine if a PDF file has preview images?
- How can I autopopulate titles in the media library?
- Adding a querystring to an image URL when clicking ‘insert into post’?
- Getting media library popup in custom plugin admin page
- How can I make the Uploaded field editable for Media Library?
- Display only my own files/images in media library
- Images are randomly deleted from server
- Site icons with alpha channel for self-hosted WordPress blog network
- Can I stop wordpress generating media sizes
- HTTP Error when uploading files above 7mb unless using GD Image Editor
- wordpress media library shows empty images
- Retrieve Image from Media Library by it’s category
- offload media to external services [closed]
- How to upload images in a specific folder using API
- AJAX – save an $_FILES picture in media library
- How do I migrate blog post images from one domain to a new one?
- How to prevent WordPress scaling large images down
- Manipulate an image before saving or after to the media libary
- Searching for any images in media library displays “no media found”
- Get the largest image based on a thumbnail in a URL
- How to get file URL from media library
- Image file names with a space in them
- Change media URL (images)
- Conditional Image Sizes for Use via Theme Customizer Upload Only
- the_post_thumbnail(“size”) returns same image for all sizes except thumbnail
- Redirect to another page using contact form 7? [closed]
- What happened to the media manger?
- Resize existing library images
- Media library disallows spammy filenames?
- Images are not showing up in “Uploaded to this post”
- Change Image folder Locations
- Images are displaying as blank images
- Is it possible to share WordPress media files among different domains?
- Rebuild thumbnails via WP Cli – how?
- How to manage a music library in wordpress
- How to edit a deleted image gallery?
- WordPress Attachments with old images
- Large image not showing dimensions in Media Library
- WordPress ACF delete image from media library
- How can i sorting and display image order by siz in media library?
- WordPress Media Import, images not in Media Library
- Custom Image Widget
- Media Library Cleanup A Thought Exercise
- Do I need to re-register all my images in the media library after a migration?
- Optimise wordpress database using SQL after deleting registered images from Media Folder
- Want to sell images online on wordpress but slow image loading issues
- still need help-images inside wp-content/ uploads/ are not showing up in my media library and uploaded using FTP protocol
- images inside wp-content/ uploads/ are not showing up in my media library and uploaded using FTP protocol
- The image keep redirect to my previous URL after I moving my site
- Images uploaded via Gutenberg image block are cropped
- Update WP Media Library image unattended
- Query all images with certain tag in media library using visual portfolio plugin
- wp_get_attachment_image_src calling wrong location
- Uploads folder only showing files up to the letter “P”
- Redimension thumbnail crop without creating new images
- Moving wp from a server to another, with different administrator
- How to access media library?
- Missing Images in Uploads Directory (Server Only)
- How do I embed an image at actual size?
- Image media upload problem in page editing modus?
- Transfered live site to new server and images are not showing
- Limit files uploaded per folder
- Change the default-view of Media Library in 3.5?
- bulk deleting empty items in the media library
- Media Manager 3.5 custom options
- Why some images are not allowed to be edited only for thumbnails?
- My subdirectory sites images (except webP) are throwing to 404 page even they are exist
- How can I use an image from an external source without uploading it to the media library
- in classic editor, is there a way to add media lib files to the content search when creating a link?