Tech Tangents:Sandbox: Difference between revisions

From Tech Tangents
Jump to navigation Jump to search
No edit summary
No edit summary
Line 112: Line 112:


     api = new mw.Api();
     api = new mw.Api();
    ext_pos = fileInput.value.lastIndexOf('.');
    ext = fileInput.value.substring(ext_pos,fileInput.value.length);


     name_input = get_paramter("Photo");
     name_input = get_paramter("Photo");
Line 123: Line 119:
         file_name = fileInput.files[0].name;
         file_name = fileInput.files[0].name;
     }else{
     }else{
         file_name = name_input+ext;
         file_name = name_input;
     }
     }



Revision as of 21:19, 7 September 2024

Photo
Software Info
Media Format:
Platform: