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
- Host: GitHub
- URL: https://github.com/andyg2/ajaximageup
- Owner: andyg2
- License: gpl-3.0
- Created: 2020-04-22T05:55:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-22T06:21:35.000Z (about 6 years ago)
- Last Synced: 2025-03-03T14:13:26.059Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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**