Home : Products : DBMan SQL : Discussion :

Products: DBMan SQL: Discussion: Re: [assombracao] Real Image path please: Edit Log

Here is the list of edits for this post
Re: [assombracao] Real Image path please
Hi

Gossamer Staff send me this global, but I canīt get this work at all but Iīm sharing it anyway




Here is template global:

sub {
my ($table, $image_col, $id) = @_;
my $file = $DB->table($table)->file_info($image_col, $id) or return "ID
$id does not have a file attached.";
return $file->File_RelativePath();
}

The tag should look like:

<%global_name('Sample', 'picture', '10')%>

Hope that helps.

Bao.


Last edited by:

TheStone: Aug 25, 2005, 9:25 AM

Edit Log: