Get image downloadable from Android default browser


Hello everybody!

I am trying to make an android default browser download an image ([url removed, login to view])

I looked through the internet and got several places saying that this solution would definitely work, but it doesn't. (to test - select an animation, click "Generate preloader", then the "download now" button.

These are the headers I am setting:

header("Pragma: public"); // required

header("Expires: 0");

header("Cache-Control: must-revalidate, post-check=0, pre-check=0");

header("Cache-Control: private",false); // required for certain browsers

header('Content-type:application/octet-stream' );

header("Content-Disposition: attachment; filename=\"[url removed, login to view]\"" );

header("Content-Transfer-Encoding: binary");

Note that when the "Download now" button is clicked what I do is set the src attribute in Iframe to the php script that generates the loading animation with the headers above. Script is in PHP

So I need the image starting download when the "download now" button is clicked in android default browser along with all other popular browsers both on computer and mobile devices. The solution with just changing headers will be prioritized.

PLEASE, don't bid if you can't do it :)

Skills: Android, Engineering, PHP, Software Architecture, Website Design

See more: what is cache on android, get animation for android, default browser android, control computer with android, click button gif, browsers for android, android note 3, android internet browser, android default browser, android computer, android browsers, gif animation website, need to make and binary website, loading gif, i am trying to get this, android browser, android animation, mobile php script download, mobile script download, control attribute, android application test, php post binary, image download test, content disposition, net post image

About the Employer:
( 18 reviews ) Уфа, Russian Federation

Project ID: #5032981

1 freelancer is bidding on average $55 for this job


Hello, I am John Profit. I work with my partners Marlen and Van at Netronian Inc., in Orlando, Florida. We have great experience with Magento. 80% of our developed websites are Magento websites. We are the masters More

$165 USD in 15 days
(25 Reviews)

Hi, I'm an expert about PHP, let's me help you. I can modify the header so you can force down image instead open it.

$55 USD in 1 day
(14 Reviews)