• Resolved tobik1395

    (@tobik1395)


    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

    (@zhannak)

    Hello @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

    (@tobik1395)

    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

    (@zhannak)

    Dear @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.