Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#325 2009-05-17 15:02:06

Gulfcoast
Member
Registered: 2009-04-12
Posts: 76

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

I’m using the following in my article: <txp:upm_image form=“upm_image” image_id=“34”/> with the following form specs:

<img src=”<txp:upm_img_full_url />” width=”<txp:upm_img_full_width />” height=”<txp:upm_img_full_height />” style=“float: left;” alt=”<txp:upm_img_alt />” /><br /> <txp:upm_img_caption/>

Can someone give me an idea how to display the caption under the image instead of to the right? Thank you.

Offline

#326 2009-05-17 15:51:22

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

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

Don’t float the image itself. Put it and the caption in a floating div instead.


Code is topiary

Offline

#327 2009-05-28 16:06:35

ploinkr
Member
From: Montreal
Registered: 2007-12-06
Posts: 83

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

Trying to insert an article image’s URL here with <txp:upm_img_full_url />, but it’s not working so far; can someone tell me what could be wrong? – Thanks…

<script type=“text/javascript”> var so = new SWFObject(“http://www.skol.ca/flvstuff/flvPlayer.swf?imagePath=<txp:upm_img_full_url />&videoPath=<txp:body />& […] </script>@

Offline

#328 2009-05-28 16:23:32

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

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

I think you need something like <txp:upm_article_image><txp:upm_img_full_url /></txp:upm_article_image>.

Offline

#329 2009-05-28 17:01:52

ploinkr
Member
From: Montreal
Registered: 2007-12-06
Posts: 83

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

Bingo! Thanks Els :-)

Offline

#330 2009-06-12 16:15:02

Gulfcoast
Member
Registered: 2009-04-12
Posts: 76

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

I’m still having a dickens of a time centering the caption under the image yet having the image float as well. My form is:

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

and my caption css is:

@.caption {

margin: 0; font: .90em Trebuchet MS, verdana, tahoma, sans-serif; color: #333; clear: left;
}@

Here is a sample article and what the format is currently:

http://www.charlottes-saddlery.com/txp/articles/28/gracie-s-roll-with-death

Can anyone point me in the right direction? I think I’ve got myself a little confused at this point. Thank you.

Offline

Board footer

Powered by FluxBB