thumbGen
开发者 |
sebastianbarria
|
更新时间 |
2015年1月31日 05:27 |
捐献地址: |
去捐款 |
PHP版本: |
2.9.0 及以上 |
WordPress版本: |
4.1 |
详情介绍:
This plugin is made for developers.
It creates a function named thumbGen() that allows to show any image in the specified size. Additionally you can specify values like crop, center, rotation and effects.
It saves all generated thumbs in a cache folder, so it won't overload your server at all.
安装:
Just donwload the zip file, upload it to your wordpress via install plugins page (or uncompress it to your wordpress wp-content/plugins/ folder) and activate it. Once activated se the main folder and default image (in settings/thumbGen) and the plugin is ready to be used by calling its main function (see "Usage" section below).
常见问题:
更新日志:
2.7.1
- IMPROVED: better compatibility with older installations (refering to the black images problem)
2.7
- FIXED: Problem with black when using with Wordpress on folders (now is working on multisite installations and Wordpress installed in the root or folders)
- IMPROVED: Minor code changes
2.6.1
- FIXED: Problem with the multisite installation (thanks to Samuel Arendt)
2.6
- FIXED: Problem with the routes when the blog is inside a folder instead of the root (thanks to @atorresg)
- FIXED: Problem when opening files with strange characters (thanks to @javiarques)
- ADDED: New argument "preserveAnimation" to show animated gifs (when using this, all other args won't work)
- ADDED: New argument "quality" to select the output quality (from 0: worst quality to 9: best quality). This work equally for jpg and png format
2.5.6
- IMPROVED: Adapted the image URL to open: if it starts with the same HTTP_HOST, it is removed from the image URL. This fixes errors on some blocked servers
2.5.5
- ADDED: A fix for $_SERVER['REMOTE_ADDR'] on some windows servers (thanks Samuelm)
2.5.4
- ADDED: The image width and height (original and new) when the output is set to "return"
2.5.3
- FIXED: Minor fixes
- IMPROVED: Avoid showing errors. This way the plugin will allways show an image (black or default)
2.5.2
- FIXED: Minor fixes
- FIXED: The control panel to be able to set a default image
2.5.1
- FIXED: A bug in the names generation (thanks beetrootman!)
- FIXED: A problem with the gif images rotation and background
2.5
- IMPROVED: Main function updated!!! (ATTENTION, if you upgrade, maybe it will need to review your code)
- IMPROVED: check for the selected cache folder in the config page
- MODIFIED: The images are now generated with a md5 encoded name by default
- MODIFIED: functions renamed to thumbGen_function() for it not to cause problem with other plugins
- ADDED: A lot of new features: rotation, effects, background, halign, valign, etc.
- ADDED: A new option to force image generation (use only for testing)
- ADDED: New option in the config page. Now it ask you if you want to create the folder (if it not exists) instead of just creating
2.1
- IMPROVED: Documentation updated
- ADDED: Donation button added (try it!)
2.0
- IMPROVED: Is not required to send any parameter other than the image name (all have default values)
- ADDED: New settings page!!!
- ADDED: Cache folder specification (if not exist, the plugin creates it)
- ADDED: Clear cache option
- ADDED: Default image specification (to show if the image doesn't exists)
- ADDED: thumGen is able to open files from anywhere (your own site and from other ones too!)
- ADDED: Full support for image transparency
- ADDED: New parameter "return", to select if the image name is printed or returned
1.0
- This is the first release