Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#145 2006-12-30 18:48:14

teamtom
New Member
From: Budapest, Hungary, Europe
Registered: 2005-08-15
Posts: 9
Website

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Hi Mary,

i created in-article-mini-galleries with upm_image.

<txp:upm_article_image type=“popup” break=“li” break_class=“gal” wraptag=“ul” class=“galeria” />

I used v.0.3.2 and it worked perfectly.
i tried to achieve in-article-MULTI-mini-galleries by adding limit and offset.
it was OK until i set limit=“1”.
i read this post almost fully and found this limit-problem which was corrected in v.0.4.x (i do not remember well)
tried to download a newer version and found v.0.5.2.
installed, activated, and got this message:

Fatal error: Call to undefined function: escape_output() in E:\_worx\txp\textpattern\lib\txplib_misc.php(459) : eval()’d code on line 235

the bug making this message was repaired @ v.0.3.x as i read

i have no idea how to make this work

i need your help!

Thanx in advance

teamtom

Offline

#146 2006-12-31 09:17:23

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

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Csakanyosi: my plugins are made to work in the latest stable version of Textpattern (otherwise maintaining it would be a nightmare), which is currently 4.0.4; the error message tells me you are using 4.0.3 or earlier.

Offline

#147 2006-12-31 09:51:44

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

Re: [plugin] [ORPHAN] upm_image: More powerful image display

@dl33: So, where 3 is the ID of an image you have, this returns nothing:

<txp:upm_image id="3" />

but this does?

<txp:image id="3" />

Edit: how stupid of me. See following post for the correct attribute to use.

Last edited by Mary (2006-12-31 10:42:34)

Offline

#148 2006-12-31 10:27:56

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

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Bah, it just dawned on me what it isn’t working.

The attribute to use, as the plugin doc says, is image_id, not id. In a few minutes I’ll be uploading a new version that checks this properly.

Offline

#149 2006-12-31 10:41:48

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

Re: [plugin] [ORPHAN] upm_image: More powerful image display

v.0.5.3 is now available.

Last edited by Mary (2013-01-24 17:37:37)

Offline

#150 2006-12-31 13:21:55

teamtom
New Member
From: Budapest, Hungary, Europe
Registered: 2005-08-15
Posts: 9
Website

Re: [plugin] [ORPHAN] upm_image: More powerful image display

Mary,

thanks for your answer!

You are right, i use txp4.0.3, because i had not enough courage to upgrade.
I am afraid of that some of the used and working plugins may not continue working

I fully understand that you can support only the freshest stable version, but a little note: you write on your homepage: “All plugins require Textpattern v.4.0.3.”
it is not obvious, that maybe 4.0.3 is not enough to use the plugins

Fortunately, i found a v0.2 of upm_image downloaded, tried it and it works perfectly with limit=“1”

in the near future i will upgrade txp with and the plugins including upm_image

this is one of my new-year-promises for 2007 :)

So thanks for your work again, and Happy New Year to you!

teamtom, alias Tamas Csakanyosi, so Csakanyosi is my family name, meaning something like pickaxe :)

Offline

#151 2006-12-31 13:24:16

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

Re: [plugin] [ORPHAN] upm_image: More powerful image display

…but a little note: you write on your homepage: “All plugins require Textpattern v.4.0.3.”

Whoops, I forgot to update that, sorry. *sheepish grin*

Offline

#152 2007-01-10 19:47:13

wcardinal
Member
Registered: 2005-07-16
Posts: 17

Re: [plugin] [ORPHAN] upm_image: More powerful image display

is there some way to show only the caption of an article image?

I want to have the caption under the image.

I have this, which of course doesnt work…

<txp:upm_article_image class=“left” show_title=“no” />
<txp:upm_img_caption />

Offline

#153 2007-01-10 20:07:39

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] upm_image: More powerful image display

wcardinal wrote:

is there some way to show only the caption of an article image?

If you can’t solve it with the plugin you could always use css, ie. img.left{display:none;}

Offline

#154 2007-01-10 20:13:21

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: [plugin] [ORPHAN] upm_image: More powerful image display

You’ll have to create a form and pass this form’s name into upm_article_image:

<txp:upm_article_image form="form_name" />

plus a misc form named form_name containing the desired markup, eg.:

<img src="<txp:upm_img_href />" width="<txp:upm_img_full_width />" height="<txp:upm_img_full_height />" alt="<txp:upm_img_alt />" />
<p><txp:upm_img_caption /></p>

Offline

#155 2007-01-10 20:20:33

wcardinal
Member
Registered: 2005-07-16
Posts: 17

Re: [plugin] [ORPHAN] upm_image: More powerful image display

ok – I did that. (it should be upm_img_full_url instead of upm_href actually)

BUT – there are links in the image captions that are translated into &lt; and &gt; — so they are no longer links.

Last edited by wcardinal (2007-01-10 20:39:51)

Offline

#156 2007-01-10 21:05:31

wcardinal
Member
Registered: 2005-07-16
Posts: 17

Re: [plugin] [ORPHAN] upm_image: More powerful image display

finally got the html in the caption working. it turns out that escape is set to html by default. so I added escape=“unset”

Offline

Board footer

Powered by FluxBB