Table of Contents
回复讨论(解决方案)
Home Backend Development PHP Tutorial 求一个PHP上传图片的好插件

求一个PHP上传图片的好插件

Jun 23, 2016 pm 02:38 PM

1.插件要有可以添加水印的功能。
2.插件要有图片裁剪功能。
3.插件是用来上传图片等文件的。不是在编辑器里面上传图片哦亲。


回复讨论(解决方案)

uploadify

http://www.162100.com/162100screenshots/

1.插件要有可以添加水印的功能。
2.插件要有图片裁剪功能。
3.插件是用来上传图片等文件的。不是在编辑器里面上传图片哦亲。
这两天刚刚在网上发现一个不错的控件
Xproer.ImageUploader: http://www.cnblogs.com/xproer/archive/2010/08/09/1796077.html
支持浏览器:IE6,IE7,IE8,IE8(x64),IE9(x64),Firefox,Chrome,360安全浏览器,360极速浏览器,Maxthon1.x,Maxthon2.x,Maxthon3.x,QQ浏览器
主界面

图片列表

添加图片

编辑图片:

提示信息:

整合代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>	<title>Web图片批量上传控件演示页面</title>	<script type="text/javascript" src="ImageUploader/ImageUploader.js" charset="utf-8"></script></head><body>	<div><a href="asp.net/images.aspx">查看上传的图片</a></div>	<div id="msg"></div>	<script language="javascript" type="text/javascript">		var imgUploader = new ImageUploader();		imgUploader.Config["PostUrl"] = "http://localhost/php/upload.php";		window.onload = function()		{			imgUploader.Init();		}	</script></body></html>
Copy after login
Copy after login


IE(x86)平台示例下载:
cab安装包
cab安装包(x64)
ASP示例
ASP.NET示例
JSP示例
PHP示例

IE(x86),IE(x64),Firefox,Chrome平台示例下载:
xpi安装包
crx安装包
exe安装包
ASP示例
ASP.NET示例
JSP示例
PHP示例

Xproer.ImageUploader: http://www.cnblogs.com/xproer/archive/2010/08/09/1796077.html
支持浏览器:IE6,IE7,IE8,IE8(x64),IE9(x64),Firefox,Chrome,360安全浏览器,360极速浏览器,Maxthon1.x,Maxthon2.x,Maxthon3.x,QQ浏览器

整合代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>	<title>Web图片批量上传控件演示页面</title>	<script type="text/javascript" src="ImageUploader/ImageUploader.js" charset="utf-8"></script></head><body>	<div><a href="asp.net/images.aspx">查看上传的图片</a></div>	<div id="msg"></div>	<script language="javascript" type="text/javascript">		var imgUploader = new ImageUploader();		imgUploader.Config["PostUrl"] = "http://localhost/php/upload.php";		window.onload = function()		{			imgUploader.Init();		}	</script></body></html>
Copy after login
Copy after login


IE(x86)平台示例下载:
cab安装包
cab安装包(x64)
ASP示例
ASP.NET示例
JSP示例
PHP示例

IE(x86),IE(x64),Firefox,Chrome平台示例下载:
xpi安装包
crx安装包
exe安装包
ASP示例
ASP.NET示例
JSP示例
PHP示例
好东西,收下了。最近在做一个图片类的项目。正好需要这样的控件。

引用 3 楼 caehonao 的回复:Xproer.ImageUploader:http://www.cnblogs.com/xproer/archive/2010/08/09/1796077.html
支持浏览器:IE6,IE7,IE8,IE8(x64),IE9(x64),Firefox,Chrome,360安全浏览器,360极速浏览器,Maxthon1.x,Max……

这个不支持火狐浏览器,我是用来网站产品上传用的,必须要兼容性好。

引用 楼主 jiaguocongbu45 的回复:1.插件要有可以添加水印的功能。
2.插件要有图片裁剪功能。
3.插件是用来上传图片等文件的。不是在编辑器里面上传图片哦亲。
这两天刚刚在网上发现一个不错的控件
Xproer.ImageUploader:http://www.cnblogs.com/xproer/archive/2010/08/09/1796077…… 支持谷歌就好,我也收下了。

引用 4 楼 ostbnwayo 的回复:引用 3 楼 caehonao 的回复:Xproer.ImageUploader:http://www.cnblogs.com/xproer/archive/2010/08/09/1796077.html
支持浏览器:IE6,IE7,IE8,IE8(x64),IE9(x64),Firefox,Chrome,360安全浏览器,36……
现在已经支持Firefox,Chrome浏览器了。他们提供了示例。
IE(x86),IE(x64),Firefox,Chrome平台示例下载:
xpi安装包
crx安装包
exe安装包
ASP示例
ASP.NET示例
JSP示例
PHP示例

坑爹的,千万不要试。到最后会给你弹出一个未授权的对话框。这个控件是要收费的。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

How does session hijacking work and how can you mitigate it in PHP? How does session hijacking work and how can you mitigate it in PHP? Apr 06, 2025 am 12:02 AM

Session hijacking can be achieved through the following steps: 1. Obtain the session ID, 2. Use the session ID, 3. Keep the session active. The methods to prevent session hijacking in PHP include: 1. Use the session_regenerate_id() function to regenerate the session ID, 2. Store session data through the database, 3. Ensure that all session data is transmitted through HTTPS.

Describe the SOLID principles and how they apply to PHP development. Describe the SOLID principles and how they apply to PHP development. Apr 03, 2025 am 12:04 AM

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to debug CLI mode in PHPStorm? How to debug CLI mode in PHPStorm? Apr 01, 2025 pm 02:57 PM

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

How to automatically set permissions of unixsocket after system restart? How to automatically set permissions of unixsocket after system restart? Mar 31, 2025 pm 11:54 PM

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

Explain late static binding in PHP (static::). Explain late static binding in PHP (static::). Apr 03, 2025 am 12:04 AM

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

Framework Security Features: Protecting against vulnerabilities. Framework Security Features: Protecting against vulnerabilities. Mar 28, 2025 pm 05:11 PM

Article discusses essential security features in frameworks to protect against vulnerabilities, including input validation, authentication, and regular updates.

See all articles