Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2007-10-31 09:53:42

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

wet wrote:

My IE7 (and probably yours, too) shows a strange behaviour: Setting an elements class name via foo.setAttribute('class', 'bar') ist somehow ignored, while using foo.className = 'bar'; delivers the desired results.

This is why upm_img_popper’s activation link looks like an ordinary h3 Element in IE71, while it looks like a h3.plain in other browsers.

Changing line #495 (in v1.3.5) from

	link.setAttribute('class', 'plain');

to

	link.className = 'plain';

this was exactly what i was looking for. was wondering why the “insert image” link was naked looking in IE when using all of the various TXP admin interfaces (and i guess the default interface as well).

thank you!

Offline

#26 2007-11-20 17:01:05

visualpeople
Member
From: Corvallis, Oregon - USA
Registered: 2005-11-16
Posts: 73
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

In 4.0.5 (maybe in older versions, too, haven’t tried yet) when both upm_img_popper and upm_quicktags are both installed and active, I’m unable to pop an image into the body or the excerpt of an article (article image still works fine). When I try, it just gives me “[object HTMLTextAreaElement]” in the place where the image tag should be. If I deactivate upm_quicktags, it all works just as it should, I just don’t have quicktags. Any ideas why this is happening?

Offline

#27 2007-11-21 05:00:21

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Are you running the latest versions of both plugins?

Offline

#28 2007-11-28 16:55:07

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Hello.

Prefs for pop-up window don’t seem to be working.
Seems to revert to some default size (approx 450 × 250).
Using ver. 1.3.5 of plugin and TXP 4.0.5

Same problem in FF 2.0.0.10 and Safari 3.0

Anyone else having this issue?
I’d be happy to hard code it necessary.

Using it now with a client who is very happy, but would really like to resize window.

Any help would be much appreciated.


Tom

Last edited by renobird (2007-11-28 16:56:14)

Offline

#29 2007-11-28 21:26:37

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

So, the prefs page appears to save the dimensions but the actual window is doing it’s own thing? If you look at the JavaScript (index.php?event=upm_img_popper_js&name=link), what appears there for var w= and var h=?

One possibility might be some kind of browser caching going on. There’s otherwise only a default number enforced on the actual prefs page if you don’t enter any number for either.

Offline

#30 2007-11-28 21:38:05

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Hi Mary,

That’s correct…the prefs stick…but the actual window does it’s own thing.
I cleared all cache etc… in both FF and Safari.
I even logged in on another computer in another office. Same problem.

I’ve set the prefs to 800 × 500 and those values show in the javascript correctly
var w=800
var h=500

It appears as though all is working properly…but the actual window just refuses to obey.

)

Any other things I could check?
Thanks for the help.

Tom

Offline

#31 2007-12-14 05:17:42

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

I’ve had similar window size problems to Tom.

Offline

#32 2007-12-17 15:28:45

sauo
Member
Registered: 2005-07-05
Posts: 11

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Hello,
Mary, I get a strange error when I’m trying to install this plugin:

Fatal error: Call to undefined function gzinflate() in /home/users/…/textpattern/include/txp_plugin.php on line 207

I have TXP 4.0.5 and two other plugins: cnk_section_tree and rvm_if_this_article. Any ideas why it happens?

Offline

#33 2007-12-20 18:25:14

visualpeople
Member
From: Corvallis, Oregon - USA
Registered: 2005-11-16
Posts: 73
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

visualpeople wrote:

In 4.0.5 (maybe in older versions, too, haven’t tried yet) when both upm_img_popper and upm_quicktags are both installed and active, I’m unable to pop an image into the body or the excerpt of an article (article image still works fine). When I try, it just gives me “[object HTMLTextAreaElement]” in the place where the image tag should be. If I deactivate upm_quicktags, it all works just as it should, I just don’t have quicktags. Any ideas why this is happening?

Mary wrote:

Are you running the latest versions of both plugins?

I’ve done pretty extensive testing now — I am using the latest versions of both plugins. I’ve tried deactivating every plugin but those two, just in case, and I still get the same result.

Any thoughts on what would cause that object tag to appear anyway?

Last edited by visualpeople (2007-12-20 18:25:38)

Offline

#34 2007-12-28 00:40:23

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

sauo: try downloading the uncompressed version of the plugin.

Ryan: I will have to install them both again and see what the problem is. What browser(s) are you using?

Offline

#35 2007-12-28 08:58:52

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

I am getting the same error:

[object HTMLTextAreaElement]

Was working fine, but then I added some other plugins, like upm_file, upm_file_popper, ied_hide_in_admin… I don’t know which one is causing upm_img_popper problems. I can say that suddenly the prefs for the popup don’t work – it is set to open a 1000×600 window, and it only opens a small window.

Using Safari 3 on Mac.

Offline

#36 2007-12-28 09:02:03

visualpeople
Member
From: Corvallis, Oregon - USA
Registered: 2005-11-16
Posts: 73
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Mary — I’ve tried in Safari, Firefox for Mac and PC and IE 6 and 7 — all pretty much the same result except IE just inserts [object]. Thanks so much.

-Ryan

Offline

Board footer

Powered by FluxBB