1
Mods & Plugins (Releases & Support) / Save local copy of images from a URL
« on: October 27, 2005, 10:17:21 PM »
This mod allows you to save a local copy of an image when loading the image from a URL path. It downloads the file to the server and saves a copy of it on the server, instead of just referencing the URL. I've found this incredibly useful and hope that you will too. This also auto-creates thumbnails for me (using ImageMagick), but some other features may not work correctly as I didn't pay much attention to other functionality requirements.
Use the attached files to replace these files:
Of course the changes in the template file would need to be applied to which ever template you are using. Just add this line in your template file where you want the option to appear:
Enjoy!
Brandon Checketts
www.webpipe.net System Administrator
Webpipe.net hosting accounts are fully compatible with 4images
Use the attached files to replace these files:
member.txt | -> | 4images_root/member.php |
upload.txt | -> | 4images_root/includes/upload.php |
member_uploadform.txt | -> | 4images_root/templates/4blue_orange1/member_uploadform.html |
Of course the changes in the template file would need to be applied to which ever template you are using. Just add this line in your template file where you want the option to appear:
Code: [Select]
<input type="checkbox" name="remote_media_file_download">Save a copy locally <br />
Enjoy!
Brandon Checketts
www.webpipe.net System Administrator
Webpipe.net hosting accounts are fully compatible with 4images