Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
Re: Admin plugin: glx_admin_image_resize
strange, does this happen evrytime you are replacing an uploaded image?
Johan Nilsson
Offline
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
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
Re: Admin plugin: glx_admin_image_resize
Mr. Dale do you have a screenshot of what you’ve done?
Jamie
Offline
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
Re: Admin plugin: glx_admin_image_resize
Thanks Mr.Dale That looks good, I think I’ll give it a spin!
Jamie
Offline
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
Re: Admin plugin: glx_admin_image_resize
Stupid question : does the plugin handle non-jpeg (gif, but mainly png) images ?
Offline
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