Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Admin plugin: glx_admin_image_resize

#1 2005-03-25 08:33:44

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

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

  1. Delete old plugin (glx_admin_image_resize)
  2. Delete old stylesheet (glx_admin_image_resize)
  3. 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

#2 2005-03-25 10:04:18

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

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

#3 2005-03-25 10:32:36

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

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

#4 2005-03-25 10:43:53

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

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

#5 2005-03-25 15:59:29

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

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

#6 2005-03-25 16:34:31

Anton
Plugin Author
From: Alingsås, Sweden
Registered: 2004-11-16
Posts: 138
Website

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

#7 2005-03-25 19:04:59

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

#8 2005-03-26 07:39:29

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

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

#9 2005-03-27 08:35:01

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

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

#10 2005-03-27 11:40:35

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

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

#11 2005-03-27 12:59:56

harryv
Member
From: denmark
Registered: 2005-03-26
Posts: 11
Website

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

#12 2005-03-27 13:19:04

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

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

  1. Index
  2. » Archives
  3. » Admin plugin: glx_admin_image_resize

Board footer

Powered by FluxBB