Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Is there a way to output an image's Caption without using a plug in?
In the txp image section there is a field to put in a caption. Is there a way to output the caption with the image?
Art Rogue – Fine Art Photography
Offline
#2 2007-09-11 11:55:08
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: Is there a way to output an image's Caption without using a plug in?
No, not without altering the source code.
Offline
Re: Is there a way to output an image's Caption without using a plug in?
Offline
Re: Is there a way to output an image's Caption without using a plug in?
rsilletti wrote:
No, not without altering the source code.
sthmtc wrote:
eh? upm_image to the rescue!
mattmikulla wrote:
Is there a way to output an image’s Caption without using a plug in?
Without plugin, sthmtc
Cheers!
Offline
Re: Is there a way to output an image's Caption without using a plug in?
What is the point of the caption field then?
Art Rogue – Fine Art Photography
Offline
Re: Is there a way to output an image's Caption without using a plug in?
It’s meant for tags that don’t yet exist in the current TXP versions, but plugins already make use of it as pointed out above. You can also use some raw PHP between <txp:php>...</txp:php>
tags to use the caption field.
Offline
Re: Is there a way to output an image's Caption without using a plug in?
Gocom wrote:
Without plugin, sthmtc
ok, my fault, overlooked it in the thread title. sorry. but matt, you should really have a look at upm_image anyways, it does lots of good things :)
Offline
#8 2007-09-11 15:31:28
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: Is there a way to output an image's Caption without using a plug in?
I’d recommend that as well. The problem with improving the image tag in the core IMHO is in losing the current flexibilty with out pleasing all concerned. Plugins work well in that respect.
Offline
Re: Is there a way to output an image's Caption without using a plug in?
Fortunately I don’t really need the functionality of captions often but it is nice to have the option. I’ll look into upm_image.
Art Rogue – Fine Art Photography
Offline
#10 2007-09-13 00:19:36
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Is there a way to output an image's Caption without using a plug in?
At present the caption is output as the image’s title (toopltip), so it isn’t unused, just not in the way desired (plain text).
Offline