How do you connect to the server to upload the files? If you use FTP then you should look at the
module. If uploading is done via browser then
should be a good place to start. Databases can be queried and manipulated by using
. Do you wish to edit these image prior to upload? I am curious as to why you have mentioned imagemagick.