An open API service indexing awesome lists of open source software.

https://github.com/andyg2/ajaximageup

Bare bones ajax image uploader with PHP handler
https://github.com/andyg2/ajaximageup

Last synced: 11 months ago
JSON representation

Bare bones ajax image uploader with PHP handler

Awesome Lists containing this project

README

          

# ajaxImageUp

### Bare bones ajax image uploader

### Allows additional but limited form data via $_GET variables

### Uploads multiple images via ajax

Applies naming convention to uploaded files:
[field name][multiple file index]_[original filename]

Handles file name collissions:
[field name][multiple file index]-[collission index]_[original filename]

**logo.png** uploaded twice with `uloadFieldName` set to "**filefield**" becomes:
**filefield0_logo.png** and **filefield0-1_logo.png**

Repeating this process will produce:
**filefield0-2_logo.png** and **filefield0-3_logo.png**