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

#61 2005-04-24 18:18:20

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

Re: Admin plugin: glx_admin_image_resize

hmm, that sounds strange, i did some testing and i couldnt reproduce what you describe.

There shouldnt be any delete sql queries in this plugin, have you maybe done some other hacks to the txp_image.php file that might affect this plugin?


Johan Nilsson

Offline

#62 2005-04-24 19:00:30

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: Admin plugin: glx_admin_image_resize

Nope, no hacks. I ended up just manually uploading the new image and then I was able to create the thumbnail with no problem.

Offline

#63 2005-04-24 19:13:57

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

Re: Admin plugin: glx_admin_image_resize

strange, does this happen evrytime you are replacing an uploaded image?


Johan Nilsson

Offline

#64 2005-04-25 12:05:59

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: Admin plugin: glx_admin_image_resize

This does seem to happen every time when I replace an image that was already in my database. The replacement goes fine for images I uploaded recently using the plugin. I wonder if it has to do with my export/import of my database. Agreed, very strange.

Offline

#65 2005-04-25 16:50:36

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

Re: Admin plugin: glx_admin_image_resize

Hi all,

Ok I fixed my problem of not being able to specifically target the rotate and resize buttons by adding IDs directly (#rotateButton and #resizeButton) in the plugin where the submit inputs are created in Javascript.

Just add:
<pre><code>submit.setAttribute(‘ID’, ‘resizeButton’);</code></pre>

directly following

<pre><code>//add submit
var submit = document.createElement(‘input’);
</code></pre>

Then add
<pre><code>submit.setAttribute(‘ID’, ‘rotateButton’);</code></pre>

directly following

<pre><code>var submitRotate = document.createElement(‘input’);</code></pre>

Now I have a space efficient layout css that I like for this plugin. Yay!

Here’s what it looks like:

my css file can be downloaded here

Thanks to osei for a great plugin.

Last edited by mrdale (2005-04-25 18:17:15)

Offline

#66 2005-04-25 17:47:11

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: Admin plugin: glx_admin_image_resize

Mr. Dale do you have a screenshot of what you’ve done?

Jamie

Offline

#67 2005-04-25 19:32:26

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

Re: Admin plugin: glx_admin_image_resize

mrdale that does look very nice, great work, must try your css out later…

wilshire, hmm if you find out what is causing this please tell, i really dont know what is going on… does this only happen when this plugin is active by the way?


Johan Nilsson

Offline

#68 2005-04-26 19:05:02

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: Admin plugin: glx_admin_image_resize

Thanks Mr.Dale That looks good, I think I’ll give it a spin!

Jamie

Offline

#69 2005-04-28 15:50:36

console
New Member
From: berlin | germany
Registered: 2005-03-05
Posts: 2
Website

Re: Admin plugin: glx_admin_image_resize

wow. very nice plugin. really appreciate your work.

a very nice dhtml solution for cropping images can be found here: http://allayers.com/myimage
maybe you can have a look at it to work yours out …

Offline

#70 2005-04-29 05:03:56

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Admin plugin: glx_admin_image_resize

Stupid question : does the plugin handle non-jpeg (gif, but mainly png) images ?

Offline

#71 2005-04-29 06:59:59

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

Re: Admin plugin: glx_admin_image_resize

jeremie: not at the moment, maybe in another version.


Johan Nilsson

Offline

#72 2005-04-29 11:28:42

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: Admin plugin: glx_admin_image_resize

Ah ,yes, I think out of laziness I had missed this plugin all these weeks.And in fact I’m going to need this.
I’ll test this now on revision 328 and report back how it went.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

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

Board footer

Powered by FluxBB