• Resolved seo90

    (@seo90)


    Hello,

    I have created a file attachment field like this:

    [file* file-1 filetypes:jpg|png|heic limit:10000000 id:file-1]

    And it works correctly at least on desktop, but when I try on my iphone it tells me that the extension is not supported. No matter the extension jpg, png or heic all tell me that they are not supported. But it does work on my computer… I have installed a wordpress from 0 with the default theme and installed the plugin but the same thing keeps happening to me. I don’t know if on android it will work or not, since I don’t have an android smartphone, but on iphone it doesn’t work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter seo90

    (@seo90)

    I use the chrome browser on my computer and on my iphone.

    also does not work in safari

    • This reply was modified 1 year, 9 months ago by seo90.
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

    Thread Starter seo90

    (@seo90)

    Okay, I was wrong. The problem is the HEIC extension of iphone… When you take a picture in iphone it has the HEIC format, an apple format and even though in the field I add the heic format:

    [file* file-1 filetypes:jpg|png|heic limit:10000000 id:file-1]

    it tells me that it is not supported… But, then, nobody can send me photos made with iphone, since all of them have that format. Can you give me a solution? I leave you a web with an installation from 0 where the same thing happens

    https://ed-caracal-xiru.instawp.xyz/contact/

    Thread Starter seo90

    (@seo90)

    curiously, when I attach a heic image from the computer it works, on iphone it tells me that the extension is not supported.

    Thread Starter seo90

    (@seo90)

    if I remove this from the field:

    filetypes:jpg|png|heic

    works, so I’ll do it like this.

    although I would like that you can only send me images and without adding that according to the code of your plugin you can send me audios, videos and images:

    $type = array( 'audio/*', 'video/*', 'image/*' );

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Attaching files does not work on iphone’ is closed to new replies.