Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Images in Admin-Browse

Quote Reply
Images in Admin-Browse
I want to display uploaded images of the records at Admin > Browse
in the template browser_link_list.html

On the regular link-pages a use a global called image_name

sub {
my ($col, $id) = @_;
return $DB->table('Links')->file_info($col,$id)->File_RelativePath();
}

and display the image on the template with

<a href="<%detailed_url%>">
<img src="/shop/images_k<%image_name('Image_k',$ID)%>" border="0"></a>

This does not work within the browser_link_list.html template.

Any idea, how to handle this??



--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Sir Up] Images in Admin-Browse In reply to
It would help me a lot if someone can help me with this problem.

Thank you

--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Sir Up] Images in Admin-Browse In reply to
I have the same question on this, (different reason)...

But, It appears that globals do not work in browser_link_list.html, or admin.cgi. Is this correct?

Is there a way to make them work??
Richard White
http://www.AffiliateFirst.com

Last edited by:

RWhite: Nov 18, 2002, 11:44 AM
Quote Reply
Re: [RWhite] Images in Admin-Browse In reply to
Veterans, where are you?

--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [RWhite] Images in Admin-Browse In reply to
Richard,

I tried to display the images using jump.cgi, but the result is a high cpu-usage while browsing.

It would be very helpfull having globals working on the admin templates.

Michael

--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Sir Up] Images in Admin-Browse In reply to
i am bring it the top, in the hope this question has been answered some where else.

any help will be apprecciated.