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("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private",false); // required for certain browsers
header("Content-Disposition: attachment; filename="[url removed, login to view]"" );
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 :)
Looking to make some money?
- Set your budget and the time frame
- Outline your proposal
- Get paid for your work
Bids on this Project
Orlando, United States
We are rated as the top 3% of Freelancers in the world! We Explore designs, economies that tap into the global commons, which will distribute capacity, embrace paradox and reshape the future. This saying has always influenced our designs and this is why this phrase has been always in our mind. To generate superior thinking that develops designs that really work for my customers' perspectives in order to achieve a commercial success. Designing for great organizations and successful businesses looks great in our portfolio, but it also makes us believe that we should continue to develop your next high-end projects. All our work is proudly made in USA, and we are a green business that supports and has staff from the following business types; minority-owned business, women-own business, young entrepreneurs, and startups. You choose our services because we make sure we stick around to get you launched not simple started. The rest will be written in history!
HCM City, Vietnam
I'm a C#, Java, NodeJS and PHP developer. Expert about C# desktop app, bot. Expert about curl lib, automatic bot, script app, database. Expert about JSP, PHP and ASPX web. Nice to work with you!