Hosting the images with multiply uploads, checking of checksum, lossless optimization.
Home - Image - Full Screen Mode - Folder
- Setting utf8 encoding in MySQL:
- Go to /etc/my.cnf
- Remove ; before collation_server and character_set_server, or add this:
[mysql]
default-character-set = utf8
[mysqld]
collation_server = utf8_unicode_ci
character_set_server = utf8
- Install image optimizations libraries and ImageMagick:
- My tips for RPM (CentOS6 and Mageia): mozjpeg and optipng
- Also you can find manuals on their pages: ImageMagick mozjpeg optipng
- Clone repository:
$ git clone https://github.com/MrChebik/OSPicture.git
$ cd OSPicture
- Launch:
$ mvn spring-boot:run \
--Dspring.datasource.username=USERNAME_DB \
--Dspring.datasource.password=PASSWORD_DB \
--Dpath.pictures=FOLDER_TO_STORE_IMAGES
- You can change properties in application.properties and run without this parameters.
- Follow to the link: http://localhost:8446/
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.
- B+ Tree structure of pictures.