An image uploader.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
application
dbschema
files
system
tests/unit-test
.gitignore
.htaccess
LICENSE
README.md
index.php

README.md

imgupup

A PHP image uploader.

Installation

  • Download zip file and unzip it at your www folder.
  • DB Schema (imgupup.sql) could be found in "dbschema" folder, create "imgupup" DB first.
  • imgupup was based on CodeIgniter 3.X.

Configurations in your php.ini

[imgupup]
imgupup_system="/var/www/system"
; NOTICE: NO TRAILING SLASH!!!
imgupup_application="/var/www/application"
; NOTICE: NO TRAILING SLASH!!!
imgupup_db_host="127.0.0.1"
imgupup_db_user="test"
imgupup_db_pass="1234"
imgupup_db_name="imgupup"
imgupup_upload_path="/var/www/u"
; NOTICE: NO TRAILING SLASH!!!
; chmod 777 /var/www/u to allow upload files.
imgupup_pwd_salt="abcd1234"
imgupup_allow_signup="YES"
imgupup_website_title="DEMO SITE!"
imgupup_default_user="roga"

Modify exists php.ini configuration

max_file_uploads=100    
; default = 20, The maximum number of files allowed to be uploaded simultaneously. Starting with PHP 5.3.4, upload fields left blank on submission do not count towards this limit.
post_max_size = 256M
; Maximum size of POST data that PHP will accept.
upload_max_filesize = 256M
; Maximum allowed size for uploaded files.
max_execution_time = 1024
; Maximum execution time of each script, in seconds
max_input_time = 1024
; Maximum amount of time each script may spend parsing request data
memory_limit = 1024M
; Maximum amount of memory a script may consume (8MB)

Demo & Screenshot

demo site

https://image.roga.tw/albums/collection/demo

album list

view albums

photo list

view photos

single photo

view single photo

LICENSE

MIT License