• Resolved pinkhare

    (@pinkhare)


    I try to add an input type ‘file’ that I need, and to get the URL text in the original OptionsFramework’s input type ‘text’. But it’s not possibe, because the URL text in the input type text is only the file name uploaded and saved before. I tried to use jQuery to get it, but jQuery returns just ‘https://fakepath/xxx.png’ to me.

    I have to do this because I need an uploading file itself, not the URL. But I need the URL too, because I have to convert the uploading file to another format. So I wonder how I could upload by the OptionsFramework’s normal text input, and then get the file URL from the text input on change, and then convert into another format.

    <input id=”original_input” type=”text”> — 2) chanegd
    <input id=”remove-xxxxxx”> — 1) click

    <input id=”my_additional_input” type=”file“> — 3) get the URL text of #original_input on its change

    Then, I could use the file of #my_additional_input to convert it into another file format.

    https://www.ads-software.com/plugins/options-framework/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to get Uploading File URL ?’ is closed to new replies.