Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#313 2009-04-06 21:50:48

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

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

Hardcoding 5 times <a href="blah"><txp:image id="x" /></a> seems a little less work to me… ;)

Offline

#314 2009-04-06 21:54:57

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

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

Els wrote:

Hardcoding 5 times <a href="blah"><txp:image id="x" /></a> seems a little less work to me… ;)

well i just looked up upm article image and i’m not sure if i can even use that option. we have a block of images at the bottom of a page which need to link places. the client wants to be able to change them at will, and then i figured the easiest place for the link to go is in the “caption”

Offline

#315 2009-04-06 22:08:45

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

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

mrtunes wrote:

the client wants to be able to change them at will, and then i figured the easiest place for the link to go is in the “caption”

In that case, I agree with you.

Offline

#316 2009-04-06 22:18:15

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

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

Els wrote:

In that case, I agree with you.

i think i have to use smd_randombanner. it’s the only plugin i know that can make a link out of a caption

Offline

#317 2009-04-06 22:20:20

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

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

Doesn’t my code work?

Offline

#318 2009-04-06 22:26:29

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

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

Els wrote:

Doesn’t my code work?

oh man i didn’t even pay attention to that for some reason! i must’ve just saw the code block as if it was quoting my original one. very sorry :(

i’m sure that works, but here’s the code that i just inputted and it works too:

<txp:smd_random_banner id="26" link_in="caption" referer="" target="_blank" />

so now we have two options in case anyone is stuck on this

Offline

#319 2009-04-07 05:29:05

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

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

Minor update available

Andrew: I cannot directly replicate either problem, but I’ve made some adjustments, let me know if they solve your problem.

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

Offline

#320 2009-04-10 13:02:44

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

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

Mary, whatever you did fixed the issue I was having using forms with upm_article_image, thanks!

I think the other problem with not applying a class was specific to using the tag with type="popup". Is this just “the way it is” or should classes be applied to type="popup" images as well?

It doesn’t matter too much to me now because I am able to make a form and customize the output however I want, but this is what was happening anyway, fyi.

Last edited by aswihart (2009-04-10 13:03:04)

Offline

#321 2009-04-10 15:50:22

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

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

Can you clarify for me what happens exactly? No class is applied?

Offline

#322 2009-04-10 16:03:34

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

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

Yes, when I do <txp:upm_article_image type="popup" class="article-image" />, the class isn’t applied at all. When I switched to type="thumbnail", the class is applied.

Last edited by aswihart (2009-04-10 16:06:18)

Offline

#323 2009-04-10 16:09:20

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

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

It should be there. It would be applied to the link rather than the image itself (so that either the link or image can be styled from the one class).

Offline

#324 2009-04-10 16:11:42

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

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

You’re absolutely right, Mary, I thought I looked for a class in the link before, but I guess I missed it, thanks again!

Offline

Board footer

Powered by FluxBB