0

I'm creating an ibooks widget (which is an HTML page). The HTML has an input (type="file") that collects reader images directly from the device.

How can I send those images to my server in order to store them considering that I'm in an iBook with no specific domain?

IDEA 1: send images via Ajax (which seams daunting).

IDEA 2: create an iframe where I directly call my server (but how to avoid 'X-Frame-Options' if I don't have a URI to whitelist?).

If anyone has an idea it'd be much appreciated.

a.barbieri
  • 2,398
  • 3
  • 30
  • 58

1 Answers1

0

I figure out that the best would be option A avoiding X-Frame-Options all together.

See this guide.

a.barbieri
  • 2,398
  • 3
  • 30
  • 58