Title: Image To Database
Last modified: January 20, 2020

---

# Image To Database

 *  Resolved [tobik1395](https://wordpress.org/support/users/tobik1395/)
 * (@tobik1395)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/image-to-database/)
 * Hello everyone,
    i want to upload an image with a form. I´ve got an “File Upload”-
   Field with the following Allowed File Extensions: “jpg,jpeg,png”.
 * Now I want to save the files in a MySQL-Database.
    Is this possible? With the
   MySQL-Mapping, I was able to save the file in the database, but it´s not readable(
   as a bin-file).
 * After that, I want to show the files/images by using a php-file.
 * Does anyone made anything like this? Or has an idea, how to save/send the images
   properly in/to the MySQL-Database?
 * Thanks for your help!
    Greetings Tobi

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Zhanna Khachatryan](https://wordpress.org/support/users/zhannak/)
 * (@zhannak)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/image-to-database/#post-12352415)
 * Hello [@tobik1395](https://wordpress.org/support/users/tobik1395/),
 * Thanks for your inquiry.
 * Dear user, unfortunately our MySQL mapping functionality doesn’t support the 
   feature you want. Uploaded files can’t be mapped in a database.
 *  Thread Starter [tobik1395](https://wordpress.org/support/users/tobik1395/)
 * (@tobik1395)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/image-to-database/#post-12354162)
 * Thanks for your fast support!
 * If I want to save the file on my webspace, Am I able to change the name of the
   file? Afterwards, I could map the link + name of the file in my MySQL-Database.
 *  Plugin Support [Zhanna Khachatryan](https://wordpress.org/support/users/zhannak/)
 * (@zhannak)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/image-to-database/#post-12401188)
 * Dear [@tobik1395](https://wordpress.org/support/users/tobik1395/),
 * I am very sorry to get back to you this late.
 * The issue is that for attachments we haven’t planned any MySQL mapping functionality,
   we are really not sure whether that will work or not.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Image To Database’ is closed to new replies.

 * ![](https://ps.w.org/form-maker/assets/icon-256x256.png?rev=2068681)
 * [Form Maker by 10Web - Mobile-Friendly Drag & Drop Contact Form Builder](https://wordpress.org/plugins/form-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/form-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/form-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/form-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/form-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/form-maker/reviews/)

## Tags

 * [bin](https://wordpress.org/support/topic-tag/bin/)
 * [database](https://wordpress.org/support/topic-tag/database/)
 * [file](https://wordpress.org/support/topic-tag/file/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * 3 replies
 * 2 participants
 * Last reply from: [Zhanna Khachatryan](https://wordpress.org/support/users/zhannak/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/image-to-database/#post-12401188)
 * Status: resolved