Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2007-05-07 11:53:19

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

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

Mary wrote:

upm_image_popper inserts images. If you also have upm_image installed, it has a custom form ability, which is documented in its accompanying Help doc.

I know how to use the custom form feature of upm_image for displaying a caption along with an image in an article.

But how would I go about using upm_image_popper’s popup option to bring up an image with caption in a new window? It seems the window always snugly fits the image. From what I can tell it’s not possible to use both, a custom form and the popup feature.

Cheers Martin

Offline

#12 2007-05-09 00:11:56

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

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

Make your own JavaScript. You can use the plugin’s, upm_image actually, as a base to start from. Then just turn off the plugin’s script (see plugin prefs).

Offline

#13 2007-06-04 07:26:32

FireFusion
Member
Registered: 2005-05-10
Posts: 698

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

Hi Mary,

is there anyway I can easily remove some of the insert commands? I only need a few.

Also, small bug report, if you have upm_file_popper and ump_image_popper installed the “Popup width” preference for ump_image_popper seems to be overridden.

Last edited by FireFusion (2007-06-04 07:29:25)

Offline

#14 2007-06-04 13:29:44

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

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

You would need to modify the plugin. Thanks for the report, I’ll check into that.

Offline

#15 2007-07-02 06:17:26

FireFusion
Member
Registered: 2005-05-10
Posts: 698

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

Hi Mary, I get these errors appear when updating to 4.0.5

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_width' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_width',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_height' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_height',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_alt' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_alt',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_title' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_title',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_class' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_class',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_the_class' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_the_class',
				val = 'image',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_custom_form' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_custom_form',
				val = 'upm_img_popper',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_form' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_form',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_admin_popup_width' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_admin_popup_width',
				val = '725',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_admin_popup_height' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_admin_popup_height',
				val = '400',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

Offline

#16 2007-07-02 10:56:04

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

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

It doesn’t matter; you can safely ignore it.

Offline

#17 2007-07-18 17:15:33

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

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

using txp 4.0.5 it seems to be working fine. but when i have multiple pages of images to choose from (ie i click on “next” at the bottom) i get this outputted at the top of the image popper page:

Notice: Undefined index: in /mnt/w0202/d31/s24/b02b5cfd/www/site/textpattern/lib/txplib_head.php on line 220

Warning: Invalid argument supplied for foreach() in /mnt/w0202/d31/s24/b02b5cfd/www/site/textpattern/lib/txplib_head.php on line 220

the 2nd page actually lists the images just fine. just wondering what the notice/warning was about. hmm

Last edited by iblastoff (2007-07-18 17:17:07)

Offline

#18 2007-07-26 15:07:52

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

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

v.1.3.5

Last edited by Mary (2013-01-24 17:22:59)

Offline

#19 2007-07-26 17:03:51

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

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

Mary wrote:

v.1.3.5

thank you!

Offline

#20 2007-08-03 15:45:11

mattgilbert
Member
Registered: 2006-03-23
Posts: 70

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

Great plugin!

It seems like whatever I set the width of the popup to be, i always get a dinky little window about 500 × 400. any clues on why the preferred width would be ignored? Can I hard code it to be bigger somehow?

Offline

Board footer

Powered by FluxBB