Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-04-17 13:21:50

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

[archived] dca_pop (easy image links)

Available (zip file) here.

This plugin will generate targeted links to pre-sized popup windows for images uploaded via Textpattern. Here’s an <a target=”_blank” href=“http://textism.com/bucket/alex.jpg” onclick=“window.open(this.href, ‘popupwindow’, ‘width=300,height=400,scrollbars,resizable’); return false;”>example</a>.

You can use either the image name:

<txp:dca_pop name="hugo.jpg">a picture</txp:dca_pop>

or Textpattern’s internal image id:

<txp:dca_pop id="19">another picture</txp:dca_pop>


text*

Offline

#2 2004-04-18 20:13:05

elmar
Member
From: Southern Germany
Registered: 2004-03-22
Posts: 24
Website

Re: [archived] dca_pop (easy image links)

This works well, but when you have more than one image, in Safari it doesn’t change. You have to close the window first. It works fine in Firebird, though.

Is there an easy way to get thumbnails? I know this was asked recently and I am simply using the XHTML with “t”, but a Textpattern tag would be nice.

Offline

#3 2004-04-19 15:41:14

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: [archived] dca_pop (easy image links)

Wow, creepy photo ‘i see dead people

Last edited by compooter (2004-04-19 15:41:38)

Offline

#4 2004-04-19 17:16:52

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: [archived] dca_pop (easy image links)

> Wow, creepy photo

Last edited by Dean (2004-04-19 19:44:16)


text*

Offline

#5 2004-04-19 18:00:53

slip
New Member
From: athens, ga
Registered: 2004-03-16
Posts: 4
Website

Re: [archived] dca_pop (easy image links)

i like that pic, and love that house. anymore shots of the interior/exterior?

Offline

#6 2004-04-19 19:04:29

elmar
Member
From: Southern Germany
Registered: 2004-03-22
Posts: 24
Website

Re: [archived] dca_pop (easy image links)

Thanks Dean, I will try that out. The house looks nice, I am jealous.

Offline

#7 2004-04-20 21:57:48

schussat
Plugin Author
Registered: 2004-02-24
Posts: 101
Website

Re: [archived] dca_pop (easy image links)

Dean, the thumbnail function works great for me. Way cool. Thanks!


-Alan

Offline

#8 2004-04-21 15:41:04

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: [archived] dca_pop (easy image links)

> anymore shots of the interior/exterior?

Well we don’t have it yet (accountant this morning, real estate agent again this afternoon, hurry up and wait) and I don’t want to jinx it. If we get the house, however I expect there may be some photos :-)


text*

Offline

#9 2004-04-27 11:11:50

Turbo-G
Member
From: Würzburg, Germany
Registered: 2004-04-15
Posts: 27
Website

Re: [archived] dca_pop (easy image links)

This plugin, when active, produces the following errors:

Warning: fclose(): supplied argument is not a valid stream resource in /home/www/htdocs/praegnanz.de/textpattern/publish.php on line 744

Warning: plugins() [function.plugins]: Failed opening ‘’ for inclusion (include_path=’‘) in /home/www/htdocs/praegnanz.de/textpattern/publish.php on line 745

Warning: unlink() [function.unlink]: Unable to access in /home/www/htdocs/praegnanz.de/textpattern/publish.php on line 746

Not very nice.

What did I wrong?

update:
Seems like I

Last edited by Turbo-G (2004-04-27 11:48:28)

Offline

#10 2004-04-27 14:02:12

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: [archived] dca_pop (easy image links)

Looks like your server has filesystem restrictions that won’t let the current plugin loading method work. This won’t be a problem in g1.19, however.


text*

Offline

#11 2004-05-07 12:49:00

sneuweger
New Member
From: munich / germany
Registered: 2004-04-08
Posts: 3

Re: [archived] dca_pop (easy image links)

Hi !

when using dca_pop to display pictures it happens that the picture not only is displayed in the popup-windows but also in the main-window (seems to happen when opening one popup after the other, closing each one of them before opening the next one.
The problem can be seen <a href=“http://txp.leasingwissen.de/photos/28/schon-7-jahre”>here</A> – there are 3 textlinks opening a popup with the picutre..

Any suggestions as to what may be the reason for that?? Thanx in advance…

Stefan

P.S.: I’m using Firefox 0.8 to render the pages. IE does not seem to have the same prob.

Last edited by sneuweger (2004-05-07 14:41:53)

Offline

#12 2004-05-11 16:46:08

kennethlove666
Member
From: arkansas
Registered: 2004-04-27
Posts: 107
Website

Re: [archived] dca_pop (easy image links)

I got an error from safe_row() on line 843 when using this plugin (with the thumbnail addition)

I also get the following error when I take out the thumbnail addition and just use the pop-up plugin:
Fatal error: Call to undefined function: safe_row() in /tmp/pluginsqmLkww on line 67

Last edited by kennethlove666 (2004-05-11 16:48:59)


Listen to Kenneth

Offline

Board footer

Powered by FluxBB