Save the image as a path in a text field.
You can try to handle your image upload with the WP mediaUploader.
There is a nice and quick tutorial for: https://laurahoughcreative.co.uk/using-the-wordpress-media-uploader-in-your-plugin-options-page/
Related Posts:
- Contact form 7 select box different value-text than content-text in option [closed]
- add function to saving change on Options Pages
- Admin page: form with enctype=”multipart/form-data” does not transfer its data
- Submit page limited in time to upload image
- Redirect to another page using contact form 7? [closed]
- File Uploader – Upload without adding to Media Library
- Upgrade 4.5.2 to 4.5.3 deleting row in wp_options table
- ‘Global’ settings page for multisite plugin
- How to add field for new site-wide option on Network Settings screen?
- “Add Media” button in custom plugin
- Allow all file types for upload
- Modifying a JS file with data from plugin settings
- Remote upload file to server B
- Correct way to serialize the data of options table?
- What plugin can I use to create a list / slideshow of featured images?
- Where should I use get_option in a plugin
- Inherit plugin settings to new site in Multisite
- Upload specific images to specific folder
- Any plugin out there that uses WP’s internal image uploader?
- How to upload image with simple form?
- Simple form that saves to database
- How to tell if plugin has been network activated
- Is there a hook attached to general settings save?
- Way to force media uploader use custom image size
- How to make WordPress use protocol indepentent upload files?
- Let readers suggest edits from the frontend
- How to find out if option exists but is empty?
- Get selected values from checkboxes and radio buttons via Gravity Forms gform_after_submission hook [closed]
- How should I use register_setting, add_settings_section, & add_settings_field in my plugin’s options page?
- Custom plugin settings: clicking “save changes” does not display success message
- Where should my plugin POST to?
- how does wp.media javascript library work?
- Duplicate settings of master blog to slave blogs in WP multi-site installation
- Environment Specific Options Token
- Plugin development: how to create a form and get custom data?
- How to create an edit media button for slideshow plugin?
- How do I extract the Alt Text from an image attachment upload via the WordPress Options Framework Plugin?
- Network-Wide Plugin Settings Management
- Please select a file error
- How to create a Page alias in WordPress
- How to fetch serialized data from wordpress options
- Add custom meta box on Post page
- Multi step form, custom plugin
- shortcode doesn’t work
- Use Media Uploader in Plugin
- Contact Form 7 plugin refreshing page on submit [closed]
- Some Plugin Settings Are Kept After Removal and Reinstall of the Plugin
- Template plugin for blog posts? [closed]
- Changing widget options via the functions.php when there are no hooks
- While Using Static Pages, How Can I Get /blog into the URL of Each Post?
- Plugin form unable to process
- How can I add a custom meta value on file upload?
- Trying to add admin file upload form plugin
- How to disable autocomplete for inputs in contact form 7? [closed]
- Get all options saved by another plugin
- How to upload thousands of images?
- Extending WP’s upload/insert media functionality
- Deleting images through upload folder, but not deleting from media library
- Generated Images sizes do not match Media Settings Image Size
- WordPress Custom Application form
- Is it ok to call get_option without hooks?
- When is it useful to use wp_verify_nonce
- How can I use a video header that’s over 8MB?
- Enable/Disable WP options programmatically
- Custom options page checkbox will not save, despite working with text
- Datepicker not supporting timepicker
- Settings API – input always updates over validation
- WooCommerce “Save Changes” button appears inside custom settings
- Saving/Writing/Adding file to upload folder
- Is there any good tutorial to write custom login, registration and password recovery forms? [closed]
- clean wp_options table unused rows
- How to set CORS header?
- Prepare plugin options for multi-lingual support
- WordPress plugin form not saving data
- How can I process xml file on upload?
- Is there a reliable way to keep track of how long a WordPress theme has been active?
- Remove obsolete plugins artifacts from database tables
- How to import 55k images (uploaded via FTP) into WordPress Media libary? [closed]
- AJAX image upload with a upload progress bar using media_handle_upload
- Is it possible to personalize the Media Library?
- Changing image URLs in media library
- jQuery Plugin to use WordPress functions in AJAX request
- Restore a Plugin’s Default Settings
- add action wp_head not working
- How to debug register_setting callback function
- Why is the Settings API is not saving my array of options
- Creating a plugin that will add options. Where should the options menu pages go?
- Bulk Image Uploader to create new post from each image [closed]
- Upload file inside plugins options page
- Add get_option to jquery
- update_user_meta add value on the top on existing value
- Adding Attachment Display Settings in custom media frame
- Can’t get plugin settings page to save data
- Default Plugin Settings Not Writing to Database
- Update Option Error: Notice: Undefined index
- Find unused images?
- Add form fields dynamically on button click
- How do i save plugin-specific info?
- Set the active Navigation Menu from a plugin
- Serialize data for wp options