Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_img_popper

#76 2005-05-27 08:43:04

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: upm_img_popper

No Mary’s great, coming here and checking up on what people want, and building a great piece of code. I absolutely agree that people like her make txp much more useful and versatile than it already is. Just think about it (or maybe you already have) – do you get that with Microsoft? Sorry for using the abusive M word ;-)

I wasn’t aware that other plugins use custom tags – maybe because with this one you see them being inserted, which alerted me.
If its because you cant do it it in php, txp, whatever, then fair enough – there’s no avoiding it. It is a consideration though….if not for me, or you, then for someone who will think ‘hmm, yes, but after 6 months I’ll need to uninstall this for xzy reason and then my images will disappear.’

Anyway, I dont want to debate this subject because its more for textpatter – this thread is about tracking the developments, getting feedback, and saying ‘yay Mary!’.

Personally, at the moment I’ve got both bas_img and upm installed. Bas is faster if I’ve recently ftp-ed an image that I know is waiting for me at the top of the dropdown list, and upm is faster and easier if I dont know where an image is, and need to browse all of them. Although I admit its not the most elegant way of doing it, using 2 plugins, its working OK at the moment and they dont conflict or take up lots of space on the admin interface.

If Dean is watching this development it could get interesting, because of the way it uses the txp image-handling. If you improve and enhance the latter (3 columns! 3 columns! category navigation!) – then bingo!, this plug in gets better than it already is.

Anyway, M, did you mention something about a dropdown option?…… ;-)

Last edited by jameslomax (2005-05-27 09:25:50)

Offline

#77 2005-05-27 20:13:59

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

Re: upm_img_popper

This plugin is beautiful and just what I was looking for. Much more what I needed than bas_image_selector (which also made a mess of my “write” page).

Any chance you can add an option to include Captions with an image (with the caption wrapped in a class=“caption” tag for styling purposes)? the glx_image plugin allows captions, but I’d much rather use this selector to place them! Then this would be perfect.

Thanks!
theturninggate

Last edited by theturninggate (2005-05-27 20:14:44)

Offline

#78 2005-05-27 22:02:43

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

Re: upm_img_popper

James:

“I’ve recently ftp-ed an image that I know is waiting for me at the top of the dropdown list”

v.0.3 made the default listing of images sorted by date descending (newest to oldest)

“I wasn’t aware that other plugins use custom tags”

Yes, thats what the bulk of plugins do.

“If its because you cant do it it…”

Well, do what exactly? Did you have an idea as to what it could do alternatively?

“did you mention something about a dropdown option?”

Someone else did, but I’m saying for this plugin, “no”.

:)

Offline

#79 2005-05-27 22:06:01

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

Re: upm_img_popper

theturninggate:

“Any chance you can add an option to include Captions with an image (with the caption wrapped in a class=

Offline

#80 2005-05-27 22:12:10

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: upm_img_popper

Would it confuse things if this was somehow added within the quicktags, or do you think it’s better a sep plugin?

Offline

#81 2005-05-28 04:50:40

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

Re: upm_img_popper

About easily adding captions and alt text (or not) when using the plugin, what about using check boxes? You could have boxes for “Include Caption” and “Include Alt” — when checked, they would output the information in the tag. What do you think?

As for the caption text, I’d like to be able to use it as I do on this site, using glx_image. I admit, I’m a little confused by your use of the caption in the current build. What URL titles are you referring to?

Offline

#82 2005-05-28 05:11:53

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

Re: upm_img_popper

“What URL titles are you referring to?”

Image title attribute (<img title="image caption">). See, captions can be used as either one, and I wasn’t sure about how I could implement both. You have given me a good idea now, though.

Basically, the check boxes, as you said. One checkbox, two radio buttons.
&bull; one checkbox for the image alt.
&bull; the two radios for the choice of either returning it as a title, or returning it to be used as a caption (like your example).

Then what I can do is create a little preference for it, where you can customize how the caption gets spit out, as in the html around it, if you do use the caption option.

How does that sound?

Offline

#83 2005-05-28 05:43:52

starzabove
Member
Registered: 2004-04-13
Posts: 76

Re: upm_img_popper

So, is there a way to make an image a link with this tag? The normal textile fashion with quotes wrapped around it, followed with a colon and then the url doesn’t appear to work.
I’m probably missing something obvious – one of those kind of days.

Thanks


90+ Textpattern installs and still going…

Offline

#84 2005-05-28 14:28:06

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

Re: upm_img_popper

“The normal textile fashion… doesn’t appear to work.”

It wouldn’t, as Textile doesn’t play nice with tags, and image urls in Textile are a bit different.

“is there a way to make an image a link with this tag?”

Not currently. I’ll try and work that into the next release.

Offline

#85 2005-05-28 14:31:31

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

Re: upm_img_popper

starzabove: you can wrap the plugin tags with an HTML hyperlink and that will work.

mary: the check box and radio buttons sound good. As for customizing the caption, how would you handle it? Using a class and user assigned CSS, or some other way?

I’m also having a problem with the way the plugin outputs HTML. Physical example here.

On my site, horizontally aligned images are 600 pixels wide by 400 pixels high, with a few exceptions where I’ve cropped photos to different dimensions. My article area is only 400 pixels wide. When I include photos in my articles (which I do often as a photoblogger) I assign them a class that resizes them to 400 pixels wide. The browser then adjusts the height automatically to match proportionate dimensions.

The problem is that your plugin specifies width and height dimensions in the code, overriding my class instructions and resulting in a distorted image. On the link above, the first two images have class assignments and are messed up. The bottom two do not have a class assignment, look fine, but over run my content area.

I suppose all this is a long way of saying: Could you change the way the code outputs so that there are not width and height instructions in the HTML? These tags have always seemed extraneous anyway, as images will output at 100% of their dimensions by default, without them. Including them only messes up CSS adjustments as in the example above.

And I have a client site that I would love to include this plugin on (once captions are implemented), but this would be a major problem for them too as they use a series of classes to display the same images at various sizes throughout the site.

What do you think?

Last edited by theturninggate (2005-05-28 14:40:41)

Offline

#86 2005-05-28 14:45:27

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

Re: upm_img_popper

“…or some other way”?

Other way – allow you to decide the markup itself, so you could wrap it in a paragraph or div or…

“…but does not seem to be changing the height automatically”

That’s because the tag generates the width and height attribute. There’s no way I can alter the height dynamically, but I could allow you to stop the tag from generating width and/or height.

Offline

#87 2005-05-28 14:50:01

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

Re: upm_img_popper

That would be awesome! :)

Offline

#88 2005-05-28 15:45:15

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: upm_img_popper

I had the same problem as well so that would be a nice feature to be able to choose.

@MARY said:

Basically, the check boxes, as you said. One checkbox, two radio buttons.
• one checkbox for the image alt.
• the two radios for the choice of either returning it as a title, or returning it to be used as a caption (like your example).
Then what I can do is create a little preference for it, where you can customize how the caption gets spit out, as in the html around it, if you do use the caption option.

That sound fantastic. A good way to really have everyting there if you want it/need it or not there if you don’t.

Last edited by soulship (2005-05-28 15:46:15)

Offline

#89 2005-05-28 20:47:52

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

Re: upm_img_popper

I’ve changed my mind about the implementation a bit – the three choices shall be
&bull; Display alternate text?
&bull; Display title?
&bull; Display custom?

The third choice would completely over-rule the first two. Involves forms. Much easier for everyone to do this from the start, than to try and dance around it until it gets rediculous.

Offline

#90 2005-05-28 22:13:02

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: upm_img_popper

> mary wrote:

> I’ve changed my mind about the implementation a bit – the three choices shall be
&bull; Display alternate text?
&bull; Display title?
&bull; Display custom?

The third choice would completely over-rule the first two. Involves forms. Much easier for everyone to do this from the start, than to try and dance around it until it gets rediculous.

Is this going to affect the way the images deal with this info at present? I’m personally happy with the way they’re managed, so would these options overide the existing setup?

Offline

  1. Index
  2. » Archives
  3. » upm_img_popper

Board footer

Powered by FluxBB