1
Mods & Plugins (Requests & Discussions) / Two download options; display image and external server link
« on: December 05, 2008, 02:05:29 PM »
Hi,
An alternative download mod seems to be a common thing. I've done a search and this was the closest I got to what I want to acheive:
http://www.4homepages.de/forum/index.php?topic=7499.0
This mod expects full size images to be stored on the 4Images server.
Ideally, what I would like is two Download buttons. The first button will just download the display image from the 4Images server. The second button will take the link stored in the image_download_url field and parse it through to the browser. It would be nice to count the downloads but not essential. I'd like the option to download all images in the Lightbox to download the full size versions.
Being able to download the display image lets people get a small version of the image for general document use. The second download button will be for a full size version of the image that could be many MBs in size. The full size version will not be stored on the same server as 4Images is using. There will be files such as PDFs and Paint Shop Pro files in the database, so the download button must force the browser to give people the Open/Save As choice for the file. I'm not overly concerned about security, so if the easy way is to reveal the URL and pass it to the browser to deal with directly, that's OK.
URLs for the full size image could be http://, ftp:// or file:///.
I'd appreciate any experienced user who could give me some help on this.
Regards,
Dominic
An alternative download mod seems to be a common thing. I've done a search and this was the closest I got to what I want to acheive:
http://www.4homepages.de/forum/index.php?topic=7499.0
This mod expects full size images to be stored on the 4Images server.
Ideally, what I would like is two Download buttons. The first button will just download the display image from the 4Images server. The second button will take the link stored in the image_download_url field and parse it through to the browser. It would be nice to count the downloads but not essential. I'd like the option to download all images in the Lightbox to download the full size versions.
Being able to download the display image lets people get a small version of the image for general document use. The second download button will be for a full size version of the image that could be many MBs in size. The full size version will not be stored on the same server as 4Images is using. There will be files such as PDFs and Paint Shop Pro files in the database, so the download button must force the browser to give people the Open/Save As choice for the file. I'm not overly concerned about security, so if the easy way is to reveal the URL and pass it to the browser to deal with directly, that's OK.
URLs for the full size image could be http://, ftp:// or file:///.
I'd appreciate any experienced user who could give me some help on this.
Regards,
Dominic