Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [archived] glx_image

#16 2005-02-08 11:38:49

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [archived] glx_image

(This did it. Thank you very much.)

Update: Now I’m using RC3, and its enough to put a whitespace before of the tag to keep it from being parsed by Textile.

Last edited by Etz Haim (2005-05-15 15:22:52)

Offline

#17 2005-02-09 21:38:38

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

Re: [archived] glx_image

Why would the output be “Wrong imageID: 1” when the id does exist? It says so for every id I try.

In my article I have <code><txp:glx_image id=“1” link=“pop” caption=“standard” class=“left” /></code>, I copied exactly your CSS and I have installed and activated dca_pop.

Offline

#18 2005-02-11 11:22:06

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: [archived] glx_image

That sounds strange, but i will soon release a rewritten update to this plugin, hang on til next week and i will have it up.


Johan Nilsson

Offline

#19 2005-02-11 12:41:41

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

Re: [archived] glx_image

Thank you, osei, I will wait for that.

That output by the way was on my local build. When I try using the plugin on my live site, I still get the ‘wrong image ID’ output, but also this:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /path to httpdocs/textpattern/publish.php(764) : eval()’d code on line 301

Offline

#20 2005-02-16 19:19:01

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

Re: [archived] glx_image

osei,

Just for reference I am getting the same error as doggiez ““Wrong imageID: 57

Offline

#21 2005-02-17 07:43:54

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: [archived] glx_image

Plugin updated 0.4

I rewrote the old plugin from scratch so i hope the errors you got is not gonna happen again.

New in 0.4

  • <code>src</code>: Source for external image, when this is used dont use id.
  • <code>debug</code>: Set this to 1 to display the sql query that is used to get an internal image.

I also would like to point out this article at Textpattern Resources that when using this plugin will help you to simple create new tags from the image section in textpattern.


Johan Nilsson

Offline

#22 2005-02-19 15:19:58

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

Re: [archived] glx_image

Johan,

It still doesn’t seem to work for me with link=“pop”. Link=“large” does work. My article looks like this (with two glx_image tags, one with link=“large” and one with link=“pop” and a dca_pop tag for comparison):

<code>
<br /><txp:glx_image id=“1” link=“large” caption=“standard” class=“left” /> (glx_image link=“large”)
<br /><br /><br />
<txp:glx_image id=“1” link=“pop” caption=“standard” class=“left” /> (glx_image link=“pop”)
<br /><br /><br />
<txp:dca_pop id=“1”><img src=”/images/1t.jpg” border=“0” /></txp:dca_pop> (dca_pop)
</code>

You can see it here. The second tag creates a link to http://www.doggiez.nl/test1/pop, which of course does not exist?

Also the title element in the anchor tag doesn’t look right, it outputs the following html: <code><a href=“pop” title=” title=“Link to a larger version of this image></code>.

Offline

#23 2005-02-19 16:30:11

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: [archived] glx_image

ohh, sorry… But now i really hope it will work for you!

Download link updated above.

Last edited by osei (2005-02-19 16:32:25)


Johan Nilsson

Offline

#24 2005-02-19 17:20:03

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

Re: [archived] glx_image

Yes it does, thank you very much!

Edit: just one thing, using class=”…” causes a validation error. This is not important to me, I just leave it out.

Edit again: leaving it out doesn’t help, oh well, never mind…

Last edited by doggiez (2005-02-19 17:29:38)

Offline

#25 2005-02-19 17:22:10

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: [archived] glx_image

great :)


Johan Nilsson

Offline

#26 2005-02-19 17:32:38

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

Re: [archived] glx_image

Okay, in the plugin code I changed ‘div’ to ‘span’, now it validates.

Offline

#27 2005-02-19 17:35:12

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: [archived] glx_image

hmm, what do you mean? the default markup should validate.


Johan Nilsson

Offline

#28 2005-02-19 17:37:48

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

Re: [archived] glx_image

It was the div inside the h4 tags, so it was probably just because of my article form.

Offline

#29 2005-02-19 17:42:30

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: [archived] glx_image

Ah it must be, because my dev page for the plugin do validate.


Johan Nilsson

Offline

#30 2005-03-26 15:34:36

zoeglingjulian
Member
From: London, UK
Registered: 2004-12-23
Posts: 52
Website

Re: [archived] glx_image

Thanks for the plugin, it’s working fine except for the feeds. In the feeds, < txp:glx_image … / > shows up as tag, it doesn’t display an image. Is it normal plugins don’t work in the feeds or just a problem with this one?

example: http://www.julianstahnke.de/rss

Last edited by zoeglingjulian (2005-03-26 15:34:52)

Offline

  1. Index
  2. » Archives
  3. » [archived] glx_image

Board footer

Powered by FluxBB