Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Admin plugin: glx_admin_image_resize
Resize image, create thumbnail and rotate image.
Name: glx_admin_image_resize
Version: 0.5b
Download URL
More info and a screenshot of it installed can be found here
When upgrading
- 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
Requirements
- 1.0RC3 Rev 198 or greater
- GD support <strike>2.0.1 or greater</strike>
- <strike>PHP 4.3.0 or greater (imagerotate)</strike>
- and some (jpg) images to test it with
update: new version 0.4b
note: graumeister has taken ownership for this plugin, please go to this thread for newer versions and more info.
Last edited by osei (2005-08-20 05:29:47)
Johan Nilsson
Offline
Re: Admin plugin: glx_admin_image_resize
Great piece! Would it be possible to give configuration-options for a fixed side-length, maybe if I want to have my thumbnails all with width:150px instead of the longest side 150px?
Samui? Samui! (about the life as farang in thailand)
David’s Neighbour
Offline
Re: Admin plugin: glx_admin_image_resize
yes i think so, this is just a first release, and i definitely want this behaviour myself too.
But right now there is no easy way (that i know) to add for example a checkbox to the image page to switch this on or off…
Johan Nilsson
Offline
Re: Admin plugin: glx_admin_image_resize
Ah, I see. There is also a lack of (developer)documentation I think. But its quite silent around the devs those days, maybe theyre on it.
Samui? Samui! (about the life as farang in thailand)
David’s Neighbour
Offline
Re: Admin plugin: glx_admin_image_resize
New version 0.2b
It still uses the same technic to manipulate the image but it is now possible to:
- specify the values for the thumb and the large image
- decide if you want to resize and create a thumbnail or not
under the image edit page. When uploading a image it will replace and create a thumbnail direct.
I had to use som javascript to make the form elements to appear up there, so please report any problems with this, i have only tested this version in Firefox.
Johan Nilsson
Offline
Re: Admin plugin: glx_admin_image_resize
Works like a charm! :) I’m running it locally on a Mac OS X Panther installation with added GD support (phpmac.com recommended for easy how-to guidance).
Offline
Re: Admin plugin: glx_admin_image_resize
How do you find the revision number of your txp installation. This plugin don’t work for me right now, and I suspect I may have an early rev.
Offline
Re: Admin plugin: glx_admin_image_resize
I guess it depends on what program you are using to download from subversion, in eclipse with a subversion plugin i can see the revision number after the file name.
But i guess the easiest way is just to download the latest version.
Johan Nilsson
Offline
Re: Admin plugin: glx_admin_image_resize
It works (on Rev. 240). Thanks!
Samui? Samui! (about the life as farang in thailand)
David’s Neighbour
Offline
Re: Admin plugin: glx_admin_image_resize
New version 0.3b
- 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.
Johan Nilsson
Offline
Re: Admin plugin: glx_admin_image_resize
The other versions did not work. This one does. Thanks.
But, what about some plugin, so under “write” -> Advanced Options -> Image you could just click something like “browse..” and then you would get an overview of uploaded images, and then be able to simply click an image and the URL would be inserted?
Offline
Re: Admin plugin: glx_admin_image_resize
harryv: glad it works for you now.
that is a great idea for a new plugin, maybe some day who knows :)
Johan Nilsson
Offline