Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#73 2005-04-29 12:09:49

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

Re: Admin plugin: glx_admin_image_resize

> mrdale wrote:

> 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.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hi,

For some reason, I couldn’t get the style sheet to work.I followed the instructions and complemented with the two nodes.
this is how my code looks now:

<code>
//add submit submit.setAttribute(‘ID’, ‘resizeButton’); var submit = document.createElement(‘input’); submit.setAttribute(‘ID’, ‘rotateButton’); submit.setAttribute(‘class’, ‘smallerbox’); submit.setAttribute(‘type’, ‘submit’); submit.setAttribute(‘value’, ‘Resize’); submit.setAttribute(‘name’, ‘Mod’);
</code>

I replaced oseis style sheet with your style sheet with out shanging the name of cours.
may be I forgot something?Nothing is styled the way it shows in the screenshot.

regards, marios

Last edited by marios (2005-04-29 12:11:16)


⌃ ⇧ < ⌃ ⇧ >

Offline

#74 2005-05-17 18:14:01

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: Admin plugin: glx_admin_image_resize

I have one request which would be great and make this plugin quite handy. Well I have two but let’s see what happens:)

1) could you add image positioning? whether an image is placed left, right or in the centre of a document? I don’t know how diffcult it would be to add, but I would also like to use floats for this feature rather than v and hspace.

2) any chance that the images could be browsed via a pop up during writing content? Use clicks an image selector link within the content area > user is displayed with a popup of current images > user selects thumbnail or full image with an option to link to the main image > image is selected and entered into the content.

My other question is what is the current behaviour of thumbnails, do they currently link to the main image, and is this done automatically or a setting has to be applied? Would really like to see 1)in a feature :)

Thanks for a really useful plugin

Offline

#75 2005-05-17 18:39:10

zoeglingjulian
Member
From: London, UK
Registered: 2004-12-23
Posts: 52
Website

Re: Admin plugin: glx_admin_image_resize

For 1) you can use glx_image

For 2) there’s a plugin available, too, I think… it’s bas_img_selector

Offline

Board footer

Powered by FluxBB