Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2009-10-20 11:38:55

Gallex
Member
Registered: 2006-10-08
Posts: 1,331

Re: yab_image (display floating image+caption/subtitles)

Niconemo wrote:

;-) But, for those who use upm_image (and upm_img_popper) you can do that this way for a long time in the Custom form (it’s an example)…

<div class="img-with-caption" style="width <txp:upm_img_full_width />px" > <img src="<txp:upm_img_full_url />" alt="<txp:upm_img_alt />" /> <br /><span class="img-caption"> <txp:upm_img_caption /></span> </div>

could anybody make me this chapter and verse. i’m using upm_image and upm_image_popper but i can’t do it. where to put this code, how to use custom form for that?

Offline

#17 2009-10-20 13:35:16

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: yab_image (display floating image+caption/subtitles)

Gallex wrote:

could anybody make me this chapter and verse. i’m using upm_image and upm_image_popper but i can’t do it. where to put this code, how to use custom form for that?

Answer: the documentation of upm_image. It clearly states that both, upm_image and upm_article_image have form attribute and both can also be used as containers. The code goes into your article context page.

Offline

#18 2010-09-24 13:21:34

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_image (display floating image+caption/subtitles)

New version 0.4:

  • can now handle hyperlinks in captions (Read plugin help, please!)
  • added: alt_alt attribute for alternative img alt attribute
  • added: alt_title attribute for alternative img title attribute
  • added: alt_as_title attribute for alternative img title attribute

Last edited by trenc (2010-09-24 13:22:11)


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#19 2017-02-10 15:17:01

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_image (display floating image+caption/subtitles)

yab_image_v0.5.txt is now TXP 4.6-ready.


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

Board footer

Powered by FluxBB