How to get Custom Fields in RandomImage

jonhunt

Joined: 2005-04-24
Posts: 3
Posted: Sun, 2005-04-24 01:50

I would like to display CustomFields in the output of a RandomImage block. I can't figure out where this is being handled (and I don't want to change the existing display of albums and images).

Is there a way of specifically including CustomFields in RandomImage markup?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-04-24 01:59

nothing has been written for this... you can file a feature request on sourceforge if you like.

 
uncool

Joined: 2005-09-08
Posts: 20
Posted: Thu, 2005-09-08 03:28

I'm trying to find out something similiar - but I think you could do it by including the customfields in the randomimage template. It seems to be easy enough to get the custom fields listed in the summary - but i'm trying to get individual fields in different places so good luck.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-09-08 03:43

check the tpl reference at codex.gallery2.org and try playing with the customfields callback to load data.