Description
Picgrab is a plugin that download, resize and crop an image on the fly.
Simply add the βresizeβ attribute in the img tag you want to grab & resize on your post.
E.g.
<img src=βhttp://farm4.static.flickr.com/3532/3243887563_700849f242.jpgβ resize=β402Γ200c;66yβ />
Once activated, the plugin replaces the attribute βsrcβ on img tags containing the βresizeβ attribute with something like:
http://yoursite/wp-content/plugins/picgrab/resize.php?url=<coded characters>&size=<coded characters>
and removes the βresizeβ attribute.
The resize.php script included with plugin does the work to grab, crop and resize the image.
It also manages the cache.
The resize attribute format is:
[(x0,y0,xs,ys)]<xd>x|x<yd>|<xd>x<yd>[c[<crop>]][;<cachetime>]
e.g. 100x, x200, 100Γ50, 100Γ200c50, 100Γ200c
Refer to This post for more informations on resizer syntax.
PicGrab require Php version >=8, gd and curl libraries.
Installation
- Unzip into your /wp-content/plugins/ directory. If you’re uploading it make sure to upload the top-level folder. Don’t just upload all the php files and put them in /wp-content/plugins/
- Activate the plugin through the βPluginsβ menu in WordPress
- make sure picgrab/picscache folder is writable by all ( 777 permission )
- That’s it!
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Picture grabber, resizer and cropper” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Picture grabber, resizer and cropper” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.