Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2005-04-14 21:38:16

setar
New Member
From: Cape Town, South Africa
Registered: 2004-12-10
Posts: 9
Website

Re: [archived] dca_pop (easy image links)

> Yes you need a thumb to connect to the pop-up.

Ah well. I’ll keep looking for alternative solutions then. Many thanks nevertheless.

Offline

#26 2005-06-27 05:08:07

skennedy1217
New Member
From: Chattanooga, TN - USA
Registered: 2005-01-14
Posts: 5
Website

Re: [archived] dca_pop (easy image links)

Is there a way to remove the scroll bars from the pop-up window? They seem to be affecting the image display size. That is, the width of the bars on the right side and bottom cut into the image.

I should add that I’m referencing IE6. There are no scroll bars when I use Firefox.

Last edited by skennedy1217 (2005-06-27 05:10:07)


Scott

Offline

#27 2005-08-20 02:19:50

ruminator
Member
From: Carson City, NV
Registered: 2005-02-01
Posts: 57
Website

Re: [archived] dca_pop (easy image links)

I’m using dca_pop on my weblog random ruminations. I’ve noticed that sometime over the last few updates to TxP, the plug-in gobbles the leading paragraph tag (and perhaps the trailing as well) for the paragraph it appears in. That is, I noticed that the styling was lost on the paragraph (colors, margins, etc) for paragraphs that included an invocation of dca_pop. A view of source showed that the paragraph tags were missing.

Paragraphs that don’t have an instance of dca_pop don’t exhibit this problem.

I really like the simplicity of dca_pop for my application, but would like to resolve the missing-p-tag issue. Anyone have any ideas as to how I can fix it?

Thanks…


Search is your friend… Think before writing…

Offline

#28 2005-08-20 02:34:16

ruminator
Member
From: Carson City, NV
Registered: 2005-02-01
Posts: 57
Website

Re: [archived] dca_pop (easy image links)

Boy do I feel dumb! I just tried substituting an anchor for dca_pop and got the same results—no paragraph tags for the paragraph that contains the image reference (and anchor).

So now I’m left wondering why the paragraph tags are lost for the paragraph that contains either an invocation of dca_pop or an anchor reference to the full-size image. Maybe someone would be kind enough to have a look at my site and give me a hint. I don’t mind doing the work, but I’m clueless at this point. Thanks again and sorry for the bad call…


Search is your friend… Think before writing…

Offline

#29 2005-08-20 10:41:29

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [archived] dca_pop (easy image links)

At first I thought it might be something like this problem I’m experiencing, but when I look at your source code I see that you now have double p tags around the paragraphs with images?? (Like <p><p>[image] [text]</p></p>)

Offline

#30 2005-08-20 11:42:19

ruminator
Member
From: Carson City, NV
Registered: 2005-02-01
Posts: 57
Website

Re: [archived] dca_pop (easy image links)

I think it’s the same problem. You’re seeing my attempt at a work-around. If you view source on this entry, then the last paragraph in the entry, which begins with a superscript 1, has no wrapping paragraph tags.

I fixed the first paragraph by hand wrapping it with paragraph tags.

I’ll follow the discussion on your thread as that is the real problem and not, as I thought, dca_pop. Thanks…


Search is your friend… Think before writing…

Offline

#31 2008-05-03 21:10:54

Ruhh
Member
From: dakota dunes
Registered: 2008-01-20
Posts: 305

Re: [archived] dca_pop (easy image links)

Uhm no download available?


<txp:Ruhh />

Offline

#32 2008-05-03 21:30:53

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [archived] dca_pop (easy image links)

I’ve got a copy :)

Offline

#33 2008-05-03 22:02:38

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [archived] dca_pop (easy image links)

<txp:thumbnail poplink="1" id="1" /> will do the same, won’t it?
P.S. txp-wiki


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#34 2008-05-03 22:22:55

Ruhh
Member
From: dakota dunes
Registered: 2008-01-20
Posts: 305

Re: [archived] dca_pop (easy image links)

Thanks Els. :)

I see this html code in the plugin:

" <a target=\"_blank\" href=\"".$path_from_root.$img_dir."/".$id.$ext."\"",
			" onclick=\"","window.open(this.href, 'popupwindow', 'width=",$w,",height=",$h,
			",scrollbars,resizable'); return false;\">",
			$thing,"</a>"

By modifying this plugin, how would I make the pop up positioned in the center of the browser?

Last edited by Ruhh (2008-05-04 00:00:41)


<txp:Ruhh />

Offline

#35 2008-05-04 08:19:07

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,578
Website

Re: [archived] dca_pop (easy image links)

If there is not a particular reason why you want the image to appear in an entirely separate window, the various thickbox (non-animated) / lightbox (animated) or similar open an overlay window in the centre of the browser window.


TXP Builders – finely-crafted code, design and txp

Offline

#36 2008-05-04 13:32:31

ruminator
Member
From: Carson City, NV
Registered: 2005-02-01
Posts: 57
Website

Re: [archived] dca_pop (easy image links)

It’s interesting, but after finding Dean’s dca_pop I have not really looked at anything else. It’s still working for me. I use Mary’s img_popper add-on to provide a quick browsing of images in a separate window. The combination of the two makes the writing workflow quite smooth.

I looked at a couple other image pop-up tools, but Dean’s simple tool works very well for my simple needs.


Search is your friend… Think before writing…

Offline

Board footer

Powered by FluxBB