Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_img_popper

#121 2005-06-06 18:37:59

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

Re: upm_img_popper

Can you give me some examples to run?

Offline

#122 2005-06-06 19:39:18

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: upm_img_popper

Hi Mary,

There’s a test page set up here.

The code for the article is as follows:

txp:upm_image type=“image” image_id=“122” class=“h” show_width=“false” show_height=“false” /

img src=”/images/122.jpg” class=“h” /

txp:glx_image id=“122” caption=“standard” class=“h” /

The first images uses your plugin. As you can see in the source, the height and width are still hard-coded into the XHTML. Also, I don’t understand your useage of the caption option.

The second image is input manually using XHTML.

The third image w/ caption is being called using the glx_image plugin. The caption text is pulled from the “Caption” field on the image properties page (your plugin sets this text to a “Title” attribute, which I don’t see the purpose of). Ideally, I’d like to see your selector plugin output code in the same way as glx_image in regards to the caption (see source code) and img attributes.

Despite this plugin not working the way I need it to, Mary, I still think you rock. The effort you’ve put into this thing has been great, and it’s a fantastic plugin for most people. For me, flexible image resizing in the browser and caption display are both imperative features. I hope these are things you’ll be able to implement at some point, but if not, I’ll understand.

Let me know if you need any further exampling.

Cheers,
theturninggate

Last edited by theturninggate (2005-06-06 19:41:48)

Offline

#123 2005-06-06 20:23:47

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

Re: upm_img_popper

First part was a bug, due to a big oversight on my part. Fixed (v.0.5.1). Parameters are now ‘yes’ or ‘no’, instead of true/false. Everyone should upgrade.

“Ideally, I’d like to see your selector plugin output code in the same way as glx_image…”

Did you read the “help”?

Offline

#124 2005-06-07 14:44:02

bartekk
Member
Registered: 2004-11-09
Posts: 57

Re: upm_img_popper

Hi mary,

it is possible to get a pop windows just with a simple textlink and not with the thmbnail of the picture?

thx

Offline

#125 2005-06-07 20:36:44

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: upm_img_popper

Hi Mary,

Thanks for fixing that bug. The image dimensions work like a charm now! :)

I’ve checked out the “help”. Still having a problem (maybe). I seem to be missing the tag to be used in the custom form for actually calling in the image. I can use the txp:upm_img_caption to get the caption to show, but what do we use for the image display?

Or do I need to insert the Image and the Custom Form separately when I’m writing the article?

And not an urgent request, but something to maybe keep in mind for a future update: Would it be possible to have another text entry box in the pop-up where you can write a class name that will be inserted into the code? From a usability standpoint of trying to keep non-codish users from looking at code, it would be a nice way of handling class assignment. :)

Offline

#126 2005-06-07 22:05:16

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

Re: upm_img_popper

bartekk:

> “…it is possible to get… a simple textlink and not with the thumbnail…?”

I think so. I’ll add it my own list, as I don’t know how long before I could promise that feature.

theturninggate:

> “…missing the tag to be used… for actually calling in the image…”

This should help:
<img src="<txp:upm_img_full_url />">

> “…to keep non-codish users from looking at code…”

Okay, I’ll add that to the list too.

Offline

#127 2005-06-07 22:24:46

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: upm_img_popper

Mary, cute trick calling the image. I’ll probably use the double insert method so that I can use different class assignments (rather than coding just one class into the form), but it’d be uber-picky of me to ask anything more of you. This plugin is wonderful and you have my sincerest gratitude. Thank you.

Offline

#128 2005-06-08 17:07:22

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: upm_img_popper

I just noticed the upm_image_popper tab located under preferences! Excellent! I had wondered what you were referring to in the version notes. Thanks for putting this in. :)

Might the tab be better located under the “Extensions” tab, though, rather than “Admin”?

Last edited by theturninggate (2005-06-08 17:17:45)

Offline

#129 2005-06-08 18:08:44

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: upm_img_popper

I agree, I think it should be under “Extensions”. I haven’t even noticed it until you said something theturninggate.

Offline

#130 2005-06-08 19:23:21

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: upm_img_popper

I don’t know that anyone reads my blog, but I’ve gone ahead and blogged this plugin for posterity, complete with screenshots.

Offline

#131 2005-06-09 00:23:55

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

Re: upm_img_popper

I had started with it under “extensions” but wasn’t sure at the time if the privs system extended to the extensions tab, then forgot to check. I just did, and it does, so I will. ;p Thanks for mentioning it.

Matthew (I saw your name on your blog, may I call you that?): That is excellent! That’s the kind of thing that I like about community’s like Textpattern’s: everyone can contribute something valuable.

Offline

#132 2005-06-09 01:25:50

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

Re: upm_img_popper

v.0.6 is here.

Offline

  1. Index
  2. » Archives
  3. » upm_img_popper

Board footer

Powered by FluxBB