Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2006-07-09 00:35:37

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

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

Oh dear. I gotta figure a way out to manage these easier, somehow grab the version number from the plugin…

Thanks.

Offline

#74 2006-07-10 16:34:03

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

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

Is upm_image supposed to continue working with r1466?

Offline

#75 2006-07-10 20:25:58

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

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

There shouldn’t be any problems with upm_image and r1466. Are you sure you’re thinking of the correct revision?

Offline

#76 2006-07-11 04:07:02

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

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

No, not sure. I just imagined that this

  • Use headings in the left-hand sidebar (thanks Philippe).

could interfere with the way upm_image hacks into the article write tab. “Insert image” simply vanished from the article tab after my update from yesterday, and r1466 was a (more or less) logical explanation.

Offline

#77 2006-07-11 04:09:25

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

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

Ah. upm_img_popper. Yes, I think that broke it. Uno momento.

Yep, it did. It’ll work when the next stable version of Txp is released. I’m not keen on maintaining versions for developmental versions which are subject to change. :)

Last edited by Mary (2006-07-11 04:46:45)

Offline

#78 2006-07-11 16:26:04

alexwest
Member
From: Järna, Sweden
Registered: 2004-08-04
Posts: 53

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

Hi Mary,

Just a comment…

When calling upm_article_image in an article form like this:
<code><txp:upm_article_image form=“article_image” /></code>
where form article_image has this:
<code><txp:upm_image image_id=”<txp:upm_img_id />” show_height=“no” show_width=“no” /></code>
in v0.3 i could get away with the upm_img_id tag nested in the upm_image tag. Updating to v0.4.3 it breaks.

Don´t know if that is correct sintax for the tags, but it was first refered here, and it is quite handy if it could be used in this manner.

Would the way around this be to wrap it in php tags? I returned to v0.3 btw.

Alex


be safe and happy

Offline

#79 2006-07-11 17:56:02

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

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

Don’t know if that is correct sintax for the tags, but it was first refered here, and it is quite handy if it could be used in this manner.

It’s not. No idea why you or jpea would want to do that at all, that’d be calling the tag twice. ?

Offline

#80 2006-07-12 09:14:18

alexwest
Member
From: Järna, Sweden
Registered: 2004-08-04
Posts: 53

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

I use upm_image (not upm_article_image as i said before, but i guess it would be the same) inside an article to display an image, but i want to style this image and have a caption under it.

So, for example, I put this in the article:
<code><txp:upm_image image_id=“121” form=“article_image” /></code>

And then, the form article_image is this:
<code><div class=“articleImage”>
<txp:upm_image image_id=”<txp:upm_img_id />” show_height=“no” show_width=“no” />
<p style=“width:<txp:upm_img_full_width />px”><txp:upm_img_caption /></p>
</div></code>

Basically, now I can use upm_image to display any image I want in an article, as long as I refer to it by its id, and have it output in that form.

Do you see any other way to do this?


be safe and happy

Offline

#81 2006-07-12 23:56:00

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

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

<div class="articleImage" style="width: <txp:upm_img_full_width />px;">

<p><img src="<txp:upm_img_full_url />" alt="<txp:upm_img_alt />" /></p>

<txp:upm_img_caption wraptag="p" />
</div>

:)

Offline

#82 2006-07-13 05:13:40

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

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

with regards to <txp:upm_img_list />
it generates this error for me: tag_error <txp:upm_img_list/> -> Textpattern Warning: unknown_tag

plugin help says:
<code><txp:upm_img_list />
Description: article image list. Only available to <txp:upm_article_image />‘s wrapform.
</code>

wrapform?

)

Offline

#83 2006-07-13 05:15:07

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

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

Are you using the latest version of upm_image?

Offline

#84 2006-07-13 05:18:54

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

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

0.4.3

Offline

Board footer

Powered by FluxBB