Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-21 12:24:13

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

Feature/Plugin request: article image author

Pursuant to the question I asked in this thread, I would like to see a TXP tag or a plugin to output the image author. I am imagining something like a <txp:article_image_author /> tag that would work in an article form, and output the image author if the displayed article has an article image assigned to it.

Mary says this should be simple to do as a plugin, so I am hoping some kind and clever soul will prove this to be the case :)

Or if anyone can offer a hint of how to go about it, I’ll have a feeble go at it myself. But I do mean feeble—my programming “skills” are laughable.


Code is topiary

Offline

#2 2005-11-21 18:57:33

simonaut
Member
Registered: 2005-06-28
Posts: 16
Website

Re: Feature/Plugin request: article image author

What do you actually want? Something like msnbc.com where Jim whoever has his image up at the top of every article he wrote?
~Simon


Chat with me here!
AIM: s1monaut
http://www.simonaut.com/

Offline

#3 2005-11-21 19:55:58

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

Re: Feature/Plugin request: article image author

No, not at all. If there is an article image called via <txp:article_image /> I want to be able to put a “photo by author” under the photo. The “author” of the photo and the author of the article are often different people.


Code is topiary

Offline

#4 2005-11-21 20:27:40

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Feature/Plugin request: article image author

You could place the image author as the caption of the image and use <txp:upm_article_image> with a custom form to display the caption.

<txp:upm_article_image> is part of upm_img_popper


Shoving is the answer – pusher robot

Offline

#5 2005-11-21 21:16:41

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

Re: Feature/Plugin request: article image author

Thanks, I’ll check it out.


Code is topiary

Offline

#6 2005-11-22 00:35:18

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

Re: Feature/Plugin request: article image author

I’ve cobbled together a plugin, using duct tape plus scavenged bits of other people’s code. So far it seems to be doing what I want. Funny, given that I have scarcely the slightest idea what I’m doing…


Code is topiary

Offline

Board footer

Powered by FluxBB