If I remember right you need to chdir() into your custom uploads directory (before saving anything there) so that paths are correctly processed and saved in meta.
Related Posts:
- Limit Media Library to Given Folder
- Automatically wrap post image in div
- Hide upload image fields for the different media upload popups
- How to retrieve alt attribute for an attachment (uploaded image)?
- I’m using add_meta_box() but want to include TinyMCE editor *and* Media Uploads for each box
- WordPress media uploader – upload tabs not hiding
- Can’t upload format files on media library
- Altered Media Library URLs
- How can I add a Description column to the media library browser screen?
- How to Fix HTTP Error When Uploading Images?
- Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords
- Rename UPLOADS folder with custom WP_CONTENT_DIR
- How to move wp-content (or uploads) outside of the WordPress directory
- media_sideload_image file name?
- Password protect some uploaded files, so only logged-in users can view them
- Add more rows on media picker
- using upload image with media_handle_upload .. but !
- Saving Custom Field in Attachment Window in WordPress 3.5
- Automatic image renaming based on title
- media_handle_upload weird thing
- Looking to display non-image files in Gallery with logo specific to file type
- Get the post attached to a image attachment
- sanitize attachment filename
- Get attachments by user
- Importing media medium setting image gallery / image attachments
- How do I go straight to “Edit More Details” when clicking on an item in the media library?
- Adding File Extensions to Attachment Page Permalinks
- Syncing Avatars across multisite
- How to re-arrange media uploaded using : media_handle_upload() as per year / month
- Insert attachment ID in custom field from media uploader
- How to insert a sitemap within a subsite when using WordPress multisite
- Custom attachments styling in post view
- Add a InfoBox in the media upload window
- Prevent Delete Attachment by URL or When Submit
- custom upload directory only for plugin uploads
- Can I create my own custom Attachment Display Setting?
- Redirect to another page using contact form 7? [closed]
- How to load attachment in media library for current user?
- Installing new theme on running site
- Get images attached to a specific page
- More Fields & Media Upload
- How to query details of images in gallery that is attached to a post
- How to allow .bin files upload?
- Media Upload not working after hiding some elements from functions.php
- Upload multiple image with media_handle_upload with multiple file field [duplicate]
- Attach File Funcion for Common people
- Transferring theme and imported post attachments
- Personalized Gallery what are my options?
- the temporary save folder is wrong
- What is wrong with my wp_insert_attachment code?
- Adding attachment custom field metadata to TinyMCE tag
- wp_delete_attachment doesn’t delete image files / doesn’t work
- How to fix custom add menu page preventing media library from loading
- How do I enable the text editer in my WordPress theme? [closed]
- Is there a way to limit multi upload in media upload box?
- Organizing the Media Library for Cleanup
- controlling whether upload is attached to post or not
- Custom Link In WordPress Media “Attachment Details” Upload Screen
- Attachment Metadata not updated while uploading audio files
- How can I create more “create attachment” custom field – any idea?
- Upload files in wordpress
- Custom image sizes ignored in WP 3.5
- WordPress uploads directory. Featured Images storage
- Is it possible to show related posts on WordPress attachment pages?
- get post author id outside loop
- Extend Media Library
- Creating an Image-Centric Custom Post Type?
- Modify existing plugin function using filter (without modifying the plugin directly)
- Get all products with a custom attribute
- media_sideload_image generates blank?
- How to get shortcode working from custom meta field
- Change URLs for static content
- How to override wp-login.php
- Remove Links from Login page
- get_terms return errors
- Are there any ‘Coming Soon’ themes for WordPress 3.0?
- Custom Queries – Child Categories not showing up
- Image upload via FTP to wordpress media library
- Schedule cron event from widget
- WordPress Network Feature
- Remove Author Slug & Replace With Username
- Updating Custom WordPress User Meta Field via REST API
- Defined Blogname Override?
- Not sure how I would go about doing this in WP.. related to custom tags
- Remove template drop down for certain pages
- Publishing html directly from ftp to wordpress
- Add Image Size for one Media Category Only
- how to get the categories for a single product in a hierarchical way
- Uppload image from another source wp.media
- large chunks of text went missing
- How to change popular term checklist title when edit post?
- Get Date of custom field and use conditional logic
- Add media library items to Menus using the Customizer (via Media Manager not URL)
- Save & Publish disabled for two dimensional array Customizer
- How to add filters to my site?
- How to use same username account for multiple users?
- Post does not disappear
- wordpress categories narrow down results
- Advanced Custom Fields in WP_Query: Href Returning Empty
- How to increase page title font size in twenty seventeen wordpress theme for static home page and single column option