nicolemcgrgr50 Posted December 26, 2008 Share Posted December 26, 2008 I have a prloblem I cannot solve I hope someone can help: The client will click a link (link_A) that runs a php script that generates a jpeg file. I wish to provide a means for the client to download the jpg file in an easy manner. I'd prefer that link_A link directly to the Jpeg so the user can then just do a "save image as". To do that, I need to execute the php file first. How to do this without requiring two click from user (1 to run php and one to view jpg file). Thanks, Link to comment https://forums.phpfreaks.com/topic/138448-creating-and-linking-to-jpeg-file/ Share on other sites More sharing options...
gevans Posted December 26, 2008 Share Posted December 26, 2008 if you want them to see the jpeg first they're going to have to click at least twice Link to comment https://forums.phpfreaks.com/topic/138448-creating-and-linking-to-jpeg-file/#findComment-724024 Share on other sites More sharing options...
gevans Posted December 26, 2008 Share Posted December 26, 2008 unless you use javascipt, when you hover over the link you get a floating box with the image, and clicking the link will download it? Link to comment https://forums.phpfreaks.com/topic/138448-creating-and-linking-to-jpeg-file/#findComment-724027 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.