.htaccess
pdf to jpg ImageMagick
send files array to server