php
<a href="<?php echo $path_data['wall_path'];?>">
<?php echo $dimensions_data['width'] . "x" . $dimensions_data['height']; ?></a>
which outputs
<li><a href="wallpapers/2014/04/scape-640x960-640x960.jpg">640x960</a></li>
<li><a href="wallpapers/2014/04/scape-640x1136-640x1136.jpg">640x1136</a></li>
<li><a href="wallpapers/2014/04/scape-720x1280-720x1280.jpg">720x1280</a></li>
<li><a href="wallpapers/2014/04/scape-768x1280-768x1280.jpg">768x1280</a></li>
<li><a href="wallpapers/2014/04/scape-1080x1920-1080x1920.jpg">1080x1920</a></li>
Now what I need to do is when the user clicks
any one of the sizes, I want to prompt a save file dialog box containing the appropriate size
file. I've read Forcing to download a file using PHP and PHP Force File Download, but based on my understanding, these are for single file downloads. Please correct me if not.
Restrictions: don't want to forward to another page like download.php file when user clicks a link.