Attachment represents a file on your server that you may include its url in your content. All attachments are supposed to be in the media library. It is easy to see that by this definition your idea doesn’t fit the wordpress attachment model (images that are off server are not attachments).
Your idea has merit but since it doesn’t fit the wordpress model right now (version 3.7) I am not sure how easy it will be to implement it.
Related Posts:
- How does WP media uploader create the 3 different sized images, and how can I duplicate it
- simple solution for restricting access to (some) uploads/downloads
- Saving images from Gravity Forms repeatable File Upload as post attachments [closed]
- How to get all files inserted (but not attached) to a post
- Password protect some uploaded files, so only logged-in users can view them
- How to check if an image attachment exists before uploading
- File upload from front-end form (as attachment) not working
- Add suffix to filename of uploaded images
- Check if image exists before uploading with media_sideload_image()
- How can I save the original filename to the database?
- ACF attachment custom field in rest response
- How to solve: An error occured in the upload
- Images not being generated at correct size
- How to manage a big collection of files with wordpress?
- Use the WP media uploader dialog for uploading a form attachment (non-admin). Offering progress and drag and drop feedback
- Rename attachment filenames to attachment ID on upload
- What is the way to add additional fields to attachments in 3.5+?
- How to edit attachment with media-upload.php?
- Upload iPhone video clips to blog via native WP app
- How to load attachment in media library for current user?
- How does WordPress decides how many sizes of an image to create?
- Setting up a HIPAA secured form / file upload
- Upload and attach to a post multiple image files [closed]
- wp_generate_attachment_metadata for non-images files
- Embed HTML5 files/subfolders in post?
- How to add filetype to meta value when using wp_upload_bits?
- Insert attachments from custom uploader into post (regular uploader style)
- PDF Upload from Input Error
- Do custom post type (CPT) attachments/media store the parent post ID?
- Using unzip_file() to get contents of file
- What is wrong with my wp_insert_attachment code?
- Adding attachment custom field metadata to TinyMCE tag
- Updating the attachment from front end doesn’t show the new change
- Set attachment category from file name on upload
- “Could not write file” error in wp_upload_bits function
- _d_improd_ directory in uploads breaking site images
- Check if author or uploader id of the attachment(uploaded) image is match?
- Limit attachment caption characters
- controlling whether upload is attached to post or not
- How to force attachment size for every post
- Attachment Metadata not updated while uploading audio files
- Upload file to front-end form and send as email attachment
- Limit number of uploaded attachments of specific context
- How do I protect my uploads?
- How do I update attachment urls after changing site domain
- How to properly move media files and update data?
- wp_delete_attachment doesn’t delete images in wp-content/uploads/
- Force WordPress 3.3 to use Flash uploader
- Protecting direct access to PDF and ZIP unless user logged in (without plugin)
- What to do with unattached logos and header uploaded via native wordpress uploader?
- upload_mimes filter has no effect
- How do I enable the customize theme page to accept svg’s?
- Frontend Simple Local Avatar upload
- WP3.5 Media Uploader – how to make it accept multiple images?
- How to define a remote uploads directory?
- Looks like image resize is not working well
- Trying to add filename over image in Media Browser
- How Can I pass an image file to wp_handle_upload?
- Upload images and attachments from frontend form
- Allowed memory size exhausted. WordPress side solution
- Media library storing files in uploads not folders within in uploads
- How to delete uploads not in media library?
- Site icons with alpha channel for self-hosted WordPress blog network
- Calling WP Gallery Uploader/Selector From Metabox
- Disable image thumbnails for only one upload folder
- media_handle_sideload on a file already on server
- Capability to prevent upload of files
- wp_handle_upload: get custom checkbox value from media uploader
- Edit User Profile From Front End
- HTTP Error When Uploading Images with HTTPS?
- Saving file to disk receiving fopen error
- How to embed YouTube videos in posts without adding suggested videos at the end?
- WordPress keeps autoplaying my Youtube-Links no matter what I write
- How to make an embeded a Youtube video from custom field text responsive to screen size?
- uploaded images not going to /uploads folder
- Setting image upload absolute path?
- how to change wp upload directory to another domain directory
- Disable “Create Audio Playlist” and “Create Video Playlist” in Add Media
- How to make picture appear on wordpress site shared link? [closed]
- iframe with Youtube video appears for logged-in users, but not for incognito users
- How to download files to WordPress?
- How to detect when a file has been uploaded?
- WP_Query: attachment image in “full” size?
- Cant upload larger than 100MB
- Multiple images are generated in WP-content in wordpress
- Removing extra large generated images disables all crops
- Missing a temporary folder not fixed
- Media URL slugs without uploads folder path
- Add more field on WordPress media upload
- Frontend media shows “An error occurred in the upload. Please try again later.”
- File Upload Management
- Files larger than 500 kilobytes are not allowed
- WordPress media upload multiple images
- Media Upload Directory to MMYY instead of YYYY/MM
- Is there a way to force Featured image to show as attachement?
- Auto-Import of WXR File
- Can someone please help me find a solution to my youtube embed problems? [duplicate]
- Media upload takes too long
- Problems with defining UPLOADS constant
- Is it possible to restrict the number of media uploads (photos) per user?