Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_img_popper

#241 2005-08-09 14:23:14

bauhouse
Archived Plugin Author
From: Abbotsford, BC Canada
Registered: 2004-06-29
Posts: 68
Website

Re: upm_img_popper

Upgraded to RC5 (it’s just so easy) and all is well with the world again.

Offline

#242 2005-08-09 18:32:38

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Re: upm_img_popper

Hi.
In latest revisions I have a problem with this otherwise wonderful plugin. Did not few revisions ago, but cant remember witch.

How I use the plugin is like this:
I use textile when I write articles and style to tell the image to float right in my articles. So I only select image with upm_img_popper and then start directly writing my text after the upm_img_popper tag in my body field. The first paragraph then does not get wrapped in a p – /p. But next one after does.

Example: (will stay for few days)
Example

I have upm_img_popper 0.7.1 and revision 736.

I noticed this in the forum and maybe it is related ?
http://forum.textpattern.com/viewtopic.php?id=10194
There it says Textile does not handle space before text and therefor does not wrap the paragraph in p tag.

Maybe this should be reported as a bug ?

PS: how do I make code tags in this forum, is there any real good instructions how to decorate posts ?

Thx

Last edited by druzli (2005-08-09 18:34:41)


regards,

Agust

Offline

#243 2005-08-09 18:35:10

Konijn
Member
Registered: 2005-06-18
Posts: 33

Re: upm_img_popper

Code tags use < c o d e > < / c o d e >

Last edited by Konijn (2005-08-09 18:35:59)

Offline

#244 2005-08-09 18:38:13

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

Re: upm_img_popper

This board uses Textile formatting. Look under the post text box and you will see Textile:on click on that link and it shows you how to format.

Offline

#245 2005-08-09 22:25:11

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

Re: upm_img_popper

Glad you got it worked out, Stephen. :)

Regarding posting code: Dean has also been extending Textile. I’ve been using this in a few places and its quite nice.

Agust: Leaving a space before is how we can escape Textile, though its kind of quirky. If you’re not leaving any space at the start of the line, that rules that out. It might be related to how paragraphs are understood, so here’s a couple things to try:

  1. Insert another line break, rather than just one.
  2. Try and force Textile on the line.

The first, instead of this,

bc..<txp:upm_image />
Start typing here

do this:

bc..<txp:upm_image />

Start typing here

For the second, do

bc..p. <txp:upm_image />

Start typing here

Let me know your progress.

Offline

#246 2005-08-10 08:01:47

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Re: upm_img_popper

Hi Mary and thanks for response.

(Will stay for few days)Your first example works out perfectly for me but the the second does this

Thanks for the help and hope this helps your dev on the plugin.

Last edited by druzli (2005-08-10 08:02:20)


regards,

Agust

Offline

#247 2005-08-10 23:18:49

neutrino
Member
From: East of the Diablo Range
Registered: 2005-06-16
Posts: 134
Website

Re: upm_img_popper

Hi there—

First post folks—been playing around with TXP for a couple of months and have visited the forums many times, usually finding what I need. Not so lucky today.

I’m having a weird problem with CSS and the plugin explained here.

The image thumbnail doesn’t show up (when viewed in IE or Yahoo’s browser). It’s fixed by taking away the plugin options. I don’t know if it’s mainly IE, CSS or the plugin. Does it have to do with the thumbnails not having width and height and is there a workaround for that? I’m just learning CSS.

Last edited by neutrino (2005-08-10 23:21:53)

Offline

#248 2005-08-10 23:26:01

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

Re: upm_img_popper

“…but the the second does this…”

That’s odd. Looks like it still wraps in a paragraph, though it treats p like text instead of Textile syntax. Make sure that when you use p in Textile that it is at the very start of a line, then a period, then just one space. But, at least the other method works. :)

Offline

#249 2005-08-11 03:47:54

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

Re: upm_img_popper

neutrino,

looking at the source, it shows that your width and height are empty. width=”“ height=”“. Internet Explorer will treat that as 0 hence no thumbnail. Firefox will calculate the width and height on its own.

Offline

#250 2005-08-11 05:07:53

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

Re: upm_img_popper

neutrino, can you show me what parameters/values you were using?

Offline

#251 2005-08-11 14:44:51

neutrino
Member
From: East of the Diablo Range
Registered: 2005-06-16
Posts: 134
Website

Re: upm_img_popper

Jeff—that pretty much explains it.

Mary, I used the default settings for the plugin—include width, include height, include alt text, & include caption. I assumed the plugin was grabbing these values from the image section of TXP and that I didn’t need to specify the thumbnail size but I’m not sure. Like Jeff said Firefix calculates those values itself. I’m wondering if there’s a way to feed those values to IE while using the plugin. I didn’t see height and width as an attribute of the plugin. But then again I’m stumbling around blind half the time, anyway.

Thanks for your help—appreciate it.

Last edited by neutrino (2005-08-11 14:48:25)

Offline

#252 2005-08-11 14:54:30

neutrino
Member
From: East of the Diablo Range
Registered: 2005-06-16
Posts: 134
Website

Re: upm_img_popper

I just had a thought—did leaving the default “upm_img_popper” custom form as it was without in fact creating that custom form cause this issue? I just saw that the plugin says “overrides all optional parameters”. I’ll go check this out now.

Offline

  1. Index
  2. » Archives
  3. » upm_img_popper

Board footer

Powered by FluxBB