Update inline-attach.js

+added a optional method to transfer dynamic data:
 Example: A Gallery based on the ID which is in the IMG-Tag, the ID will be transfered to work with it(to change the name of the uploaded file to(example): 2065.jpg