EasyImage: Simple and powerful database-free PHP image bed source code

888u

Last update at :2024-06-08,Edit by888u

EasyImage is a simple and powerful PHP image bed without a database.

Supports multiple file uploads, remote uploads, and api uploads. It is simple and has no database, and directly returns image URL, markdown, bbscode, html and other codes.

Do not set the multipart upload size for js, as this may cause some image uploads to fail. When the upload fails, the default maximum attempt is 3 times. Before use, please be sure to modify the domain name in config.php to your own!

  • Supports setting picture quality
  • Supports text/picture watermarks and customizable text color
  • Support text watermark background color
  • Support text watermark transparency
  • Supports uploading images and converting them into specified formats
  • Supports setting the specified width/height of images
  • Support limiting minimum width/height upload
  • Support static file CDN/local switching
  • Supports opening/closing browsing of recently uploaded pictures
  • Supports uploading only after logging in
  • Support setting ads
  • Support website statistics. Please put the statistics code into:/static/hm.js
  • Supports deleting custom deleted pictures (administrators only)
  • Supports uploading images to remote servers (foreign storage)
  • Supports turning on/off api upload (supports turning on/off api custom text watermark)
  • Support deletion of remotely uploaded files

Remote upload [cross-domain upload] tutorial

Copy all files in the crossdomain folder and config.php to the new server Grant 0777 permissions to the upper-level folder of crossdomain, and grant 0777 permissions to all files. Modify the **"domain"** of the new server's config.php to be the current domain name (with '/' at the end) Modify the ‘crossDomain’ of the original server’s config.php to true (turn on true and turn off false) Modify the ‘CDomains’ of the original server’s config.php to http://www.newserver.com/crossdmain/file.php

Project address: https://github.com/icret/easyImages

Source code download: github original version (recommended, you can keep it updated)

Recommended site searches: registered domain name, local IP address query, server evaluation, Alibaba Cloud domain name registration, expired registered domain name, Hong Kong vps host rental, domain name purchase dynamic vps instant IP replacement, registered domain name, which high-defense game server Good home,

EasyImage: Simple and powerful database-free PHP image bed source code

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码