Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#49 2008-02-08 19:29:07
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
I’ve noticed that, too, many times, but like Mary said, you can just ignore it.
It always used to cause me a momentary panic ;-) , but out of interest I disabled all the plugins prior to upgrading txp and it went without a hitch. I then turned them back on again and things have been working as before – no worries.
Offline
#50 2008-02-09 03:21:35
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
By the way, I tracked the problem down and fixed it. :)
Offline
#51 2008-02-12 12:49:34
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Thanks! :-)
Offline
#52 2008-10-16 10:58:41
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
I’m having an odd problem with the popper’s window size. I’ve set the preferances to 825 wide by 500 tall, but I keep getting a window that’s about 530px wide. Happens in FF3, IE7, and Safari 3.1 for Windows. Has anyone else had this problem?
Offline
#53 2008-10-17 14:50:11
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Take a peek at the JavaScript that gets attached to the page (index.php?event=upm_img_popper_js&name=link). There are two lines,
var w = number_here;
var h = number_here;
Are there actually numbers there, and are they what they should be?
Offline
#54 2008-10-17 18:05:33
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
When I try to view that file, I get the site’s error template. Not sure what that’s about.
If it helps any, I’m also running upm_file_popper, and its JS is referenced later on the page than the script for the image popper. If you used the same variable names and didn’t namespace your JavaScript, you could be getting one set of variables overridden by another.
Last edited by Logoleptic (2008-10-17 18:05:55)
Offline
#55 2008-10-17 21:00:39
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
They get used immediately after being declared, so overwriting shouldn’t matter.
That should be from within your admin folder “textpattern”, not the root of your site, e.g: http://yoursite.com/textpattern/index.php?event=upm_img_popper&name=link
Offline
#56 2008-10-17 21:22:41
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Sorry about the mix-up, Mary. Not sure what I was doing wrong before, but it worked now. The variables have the correct width and height that I set for the plugin:
var w = 825;
var h = 500;
Offline
#57 2008-10-18 20:20:55
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Well, one way to check if the other plugin is doing it is to temporarily disable it and see what happens. You can try disabling other plugins as well.
The plugin’s JavaScript could stand to be re-formulated anyway, but it won’t necessarily fix your problems since we don’t know what’s causing it yet. :)
Offline
#58 2008-10-21 17:57:32
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Mary wrote:
Well, one way to check if the other plugin is doing it is to temporarily disable it and see what happens. You can try disabling other plugins as well.
Doh! I can’t believe I didn’t think of that. Indeed, disabling the file popper causes the image popper to work as expected again.
Offline
#59 2008-11-10 18:04:36
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
I know I’m pestering you, Mary, but have you had a chance to look further into the window-sizing issue I mentioned? I don’t have time to work out a fix myself right now, but the site is getting ready to launch soon. Thanks. :)
Offline
#60 2008-11-11 22:09:02
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
I re-worked upm_file_popper’s JS, since that was simpler to start with. Could you try the following new version of upm_file_popper (link removed), and tell me if that fixes the immediate problem and that the plugin still otherwise works as before? If it does then I can update the plugin “officially”. :)
Last edited by Mary (2008-11-16 21:54:18)
Offline