Textpattern plugin: glx_admin_image
Posted 30. mars 2005, 10:00 [Edited 15. september 2006, 19:52]
Note: This plugin is not maintained by me anymore, Patrick Kollitsch (graumeister) has taken ownership of this plugin, a new version is found here.
- Version: 0.5b
- Download: glx_admin_image.txt
- Textpattern forum thread: View discussion
- Active on this site: No, but version 0.5.2b is.
This is a admin plugin, it adds more options to Textpatterns image edit page. Resize image, create thumbnail and rotate image.
When upgrading from 0.3b
- Delete old plugin (glx_admin_image_resize)
- Delete old stylesheet (glx_admin_image_resize)
- Install new version
If something went wrong with this version, 0.3b is still availible for download
Todo
- add option to
resize image on uploadand on image replace cookie to remember settings (graumeister)- image crop
check for different versions of GD, in progress- More ids, or classes to the elements created (mrdale)
Requirements
- 1.0RC3 Rev 198 or greater
- GD Support
2.0.1 or greater PHP 4.3.0 or greater (imagerotate)- and some (jpg) images to test it with
Changelog
0.5b 2005-04-04
- Cookie for persistent size settings, from an idea by graumeister
- Checkbox that makes it possible to resize image on upload with latest stored value.
- Image opts now appears on thumbnail insert and image replace, thanks ZiQ
- Support for image rotate for php 4.3.0 or lower, thanks Tobias Einarsson
- GD version check, function from MDP Automatic Resize and Thumbnail for textpattern by Caged
0.4b 2005-03-30
ZiQ added the following
- Submit button, no need to upload an image to create thumbnail, square thumbnail or to resize image anymore.
- Checkbox, if you want to resize the large image
- Quality input field for thumbnail and large image, but this two fields are commented out right now, personally i think its too cluttered to have them there, but you could comment them out if you want them, the values by default is 90 for thumbs and 80 for large images.
The behavior for the plugin has changed a bit since this version, on upload the plugin will only creates a thumbnail, no resize is now done. When replacing a image it only replace the image, no resize is done or thumbnail is created.
Other updates
- Image rotating, 180, 90CW, 90CCW, requires php 4.3.0 or greater
- Plugin renamed to glx_amin_image instead of glx_admin_image_resize
- Stylesheet renamed to glx_image_admin, delete old one, I also added some new rules to the stylesheet
0.3b 2005-03-27
- Its now possible to create squared thumbnails
- Better js for outputting the new input fields
- Changed the order of the input fields, they are now above the upload field
- A stylesheet named glx_admin_image_resize is created under the style tab for some very basic styling under the image edit page.
0.2b 2005-03-25
It still uses the same technic to manipulate the image but it is now possible to (in the image edit page)
- specify the values for the thumb and the large image
- decide if you want to resize and create a thumbnail or not
0.1b 2005-03-25
- First release
Jag vill ja he den där pluginen, men jag har inte orkat meka in rc3. Vet inte om jag kommer göra det.. jag är mer en stable-person. Kör ju tex woody på min debian-box… det är minsann stable det. :P
Aja, textpattern sköter sig hittills iallafall. Snart ska jag nog orka göra en egen template. Snart!
Vad kör du för versioner på dem olika delarna på servern? linux / win m.m.
Jag har dock för mig att Albert uppdaterade libjpeg för att få det att fungera på hans burk.
Because on my site it does really nothing – even stylesheet haven’t been created..