Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#61 2008-11-14 23:39:06
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Sorry for the delayed response, Mary. The new version seems to be working fine. The image popper is the right size again, and the file popper works as expected. Thanks!
Offline
#62 2008-11-16 21:52:38
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Thanks.
Offline
#63 2009-05-19 08:16:57
- kostas45
- Member
- From: Greece
- Registered: 2007-11-08
- Posts: 61
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Is there an easy way to populate a custom field with an image name?
Ideally for my case, clicking Insert Article image (append/replace)
would at the same time populate a custom field with the image name.
Thanks,
Kostas
Offline
#64 2009-05-19 08:47:26
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Ideally for my case, clicking...
Unfortunately, that would break appending as it currently works (and changing it would be more complicated than worth it, IMHO).
I could extend the tag insertion part, but I’m not sure when I would get the time to do that.
I am not sure (as I’ve not used it) but would this plugin get you closer to what you are after?
Offline
#65 2009-05-19 09:23:41
- kostas45
- Member
- From: Greece
- Registered: 2007-11-08
- Posts: 61
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Mary wrote:
I could extend the tag insertion part…
This would be nice, please add it to your feature request list ;-)
I am not sure (as I’ve not used it) but would this plugin get you closer to what you are after?
Thanks for that, tried it, unfortunately it does not fit in with my needs.
Cheers,
Kostas
Offline
#66 2009-06-11 08:07:58
- feytus
- Member
- Registered: 2009-06-02
- Posts: 43
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Thanks for a great plugin! Question however; how do I style the image output? I have a css-rule called padding-left (which pads the thumbnail by 5 pixles) and also aligns the image to the right, but using the textile-code doesn’t work on this. How do I style it?
Edit; i’ve managed to do it by adding this;
<txp:thumbnail id=“56” poplink=“1” align=“right” style=“padding-left:15px” />
Haha, pretty easy, sorry. :p
But! Is there an easier way? Or maybe something to implement for the next release of the plugin? ;)
Last edited by feytus (2009-06-11 08:32:58)
Offline
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
feytus wrote:
Thanks for a great plugin! Question however; how do I style the image output? I have a css-rule called padding-left (which pads the thumbnail by 5 pixles) and also aligns the image to the right, but using the textile-code doesn’t work on this. How do I style it?
Edit; i’ve managed to do it by adding this;
<txp:thumbnail id=“56” poplink=“1” align=“right” style=“padding-left:15px” />Haha, pretty easy, sorry. :p
But! Is there an easier way? Or maybe something to implement for the next release of the plugin? ;)
why not just add a class to the thumbnails (pretty sure this plugin lets you do that) and then assign that class its attributes just once in your css so you don’t have a bunch of nasty style=“padding-left:15px” for every thumb?
Last edited by iblastoff (2009-06-11 11:36:59)
Offline
#68 2009-06-11 19:49:27
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Yep, that’s what you’d do.
Offline
#69 2009-06-12 08:41:02
- feytus
- Member
- Registered: 2009-06-02
- Posts: 43
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Oh, yes, of course. Sorry about that, I’m new to all this stuff. But, when I have made a class in my page’s css, like this;
thumbnail.right {align: right; padding-left: 15px;}
Shouldn’t I just add this to the popup-code, and it should work?
<txp:thumbnail id=“75” poplink=“1” thumbnail class=“right” />
The image doesn’t appear when I do that. Probably something stupid I’m doing wrong, but according to W3Schools page on CSS Syntax, this is how to do it. What am I doing wrong? :P
Offline
#70 2009-06-12 10:25:45
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
No.
.right {text-align: right; padding-left: 15px;}
<txp:thumbnail id="75" poplink="1" class="right" />
Last edited by Mary (2009-06-12 10:26:08)
Offline
#71 2009-06-12 10:44:08
- feytus
- Member
- Registered: 2009-06-02
- Posts: 43
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Ah, I’m stupid. Thanks a lot, Mary, you’re a star! :)
Offline
#72 2009-08-18 20:28:43
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector
Hi Mary! In 4.2.0rc1 I’m getting this in the popup:
Notice: Undefined index: image_list_pageby in /path/to/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 191
(just above the ‘search’ part), and
Notice: Undefined index: image_list_pageby in /path/to/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 416
just below it. Otherwise it seems to be working as it should. I’m not seeing those notices in the Images tab itself, and it doesn’t make a difference if I disable all other plugins.
Offline