Jump to content


Photo

Image uploading broke in Safari?

safari image upload

  • Please log in to reply
9 replies to this topic

#1 sn4ke

sn4ke

    Jr. Member

  • Members
  • PipPip
  • 12 posts
  • 3

Posted 17 July 2012 - 01:56 PM

Hello together,
is there any known bug with Safari (on Mac) and the HTML5 image uploading? Somehow the "drag'n'drop" feature does not work properly - The "drag and drop files in here" text does not appear at the bottom - So I guess it's switched off completely? No problems with firefox and chrome by the way :)

Oh and thanks a lot for this really great CMS! I recently launched sn4ke.de

#2 Martijn Geerts

Martijn Geerts

    Sr. Member

  • Members
  • PipPipPipPip
  • 373 posts
  • 168

Posted 17 July 2012 - 02:04 PM

You can drag &drop files on the actual input field in safari, then it does work ( but you have to save the page to upload )

#3 sn4ke

sn4ke

    Jr. Member

  • Members
  • PipPip
  • 12 posts
  • 3

Posted 17 July 2012 - 02:09 PM

You can drag &drop files on the actual input field in safari, then it does work ( but you have to save the page to upload )

Thanks Martijn, I figured that out - But what's wrong with the drag'n'drop feature?
The Safari browser is based on the webkit engine, just as chrome. So what's wrong?

#4 Martijn Geerts

Martijn Geerts

    Sr. Member

  • Members
  • PipPipPipPip
  • 373 posts
  • 168

Posted 17 July 2012 - 02:20 PM

Don't know, I think they have different javascript engines.

#5 Soma

Soma

    Hero Member

  • Moderators
  • 3,187 posts
  • 1744

  • LocationSH, Switzerland

Posted 17 July 2012 - 02:24 PM

Does it work for you in Safari here: http://html5demos.com/file-api? Safari doesn't support file upload API PW is using, thus the drag upload message isn't showing, it will fall back to traditional method.

@somartist | modules created | support me, flattr my work flattr.com


#6 Martijn Geerts

Martijn Geerts

    Sr. Member

  • Members
  • PipPipPipPip
  • 373 posts
  • 168

Posted 17 July 2012 - 02:41 PM

File API & FileReader API not supported... but http://blueimp.githu...ry-File-Upload/ does work in safari...

#7 sn4ke

sn4ke

    Jr. Member

  • Members
  • PipPip
  • 12 posts
  • 3

Posted 17 July 2012 - 03:00 PM

Hi Soma,
it does not work - It says "File API & FileReader API not supported".

I think my question is answered then... Too bad though. I'll just use chrome then ;)

Thanks guys!

EDIT
Thanks Martijn :)

#8 apeisa

apeisa

    Hero Member

  • Moderators
  • 2,521 posts
  • 848

  • LocationVihti, Finland

Posted 17 July 2012 - 03:29 PM

Yeah, I know it is possible to get drag and drop uploads work in safari - not sure how (since File and Filereader APIs are not supported). After we did build the d&d implementation with Ryan it just felt that "well, Safari will support it soon enough". But it seems Safari doesn't get that much love, since that was about year ago or what when we implemented the drag and drop?

#9 ryan

ryan

    Hero Member

  • Administrators
  • 5,771 posts
  • 3114

  • LocationAtlanta, GA

Posted 18 July 2012 - 08:34 AM

I keep up to date with Safari on my mac, but I think Apple has lost interest in it as browser outside of iOS. Chrome is pretty much better in every way. There doesn't seem to be a reason to use Safari anymore in OS X. Since File/FileReader aren't apparently applicable to iOS, my guess is that Apple doesn't care about it.

#10 sn4ke

sn4ke

    Jr. Member

  • Members
  • PipPip
  • 12 posts
  • 3

Posted 18 July 2012 - 03:43 PM

I keep up to date with Safari on my mac, but I think Apple has lost interest in it as browser outside of iOS. Chrome is pretty much better in every way. There doesn't seem to be a reason to use Safari anymore in OS X. Since File/FileReader aren't apparently applicable to iOS, my guess is that Apple doesn't care about it.

Hi Ryan, thanks for your message!
I was just asking because a future client of mine is a hardcore Mac user and needs everything "extra easy" ... But I think it's no problem - It was just a "nice to have" feature.





Also tagged with one or more of these keywords: safari, image, upload

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users