Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Image not shown?

Quote Reply
Image not shown?
The faq on how to add images is just fine but doesn’t detail on how to get them to show up!

I have this on the details page: <img src="<%Image%>" alt="<%Title%>"> but doesn’t work. Do anyone here uses images can show the correct tags to use?

(I have looked at previous discussions but no luck!)

--------------------------------
Privacy Software
Quote Reply
Re: [BLOOD] Image not shown? In reply to
If I understand your problem correctly, I think you just need to make sure that you have the correct path to the image and make sure the image is actually in the directory you specify. In other words, if the image is in a directory called 'images' in your main root directory, you would need to set it as:

<img src="/images/<%Image%>" alt="<%Title%>">

--Frank
Quote Reply
Re: [BLOOD] Image not shown? In reply to
If you are unsure about available tags, you can always use that tag to displays them:
<%GT::Template::dump%>

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] Image not shown? In reply to
Thanks all, i have this working just fine now Cool

--------------------------------
Privacy Software
Quote Reply
Re: [webmaster33] Image not shown? In reply to
When using

<%GT::Template::dump%>

I *always* suggest you wrap it in something like:

<%if Username eq "MyName"%>
<%GT::Template::dump%>
<%endif%>

Then login, and check it.

The reason is some pretty sensitive things can be passed out of a blind dump.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Image not shown? In reply to
Yes, Pugdog, I absolutely aggree, your suggestion is very advised for live websites!
But development site this does not matter.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] Image not shown? In reply to
It's just a very, very safe habit to get into.

I have a beta of community running, and what a <%GT::Template::dump%> can dump is quite scary.

It's time to plug *all* lose coding, random tags, and such.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [webmaster33] Image not shown? In reply to
I had to use the following because the image is stored via HASHED

/perl/data/jump.cgi?ID=5&view=Image

BUT... Surly this will count a jump 2 times when the image is pulled then when the image or link is clicked.

There must be a tag to display the image from the correct path without using jump?

If not, it would seem the image upload feature is only half finished!

--------------------------------
Privacy Software
Quote Reply
Re: [BLOOD] Image not shown? In reply to
Uhm. I don't know nor detailed pages, nor jump.cgi in details. I do not use them.
If you can not find <%Image%> tag in the tag dump list, then it's not available.

But something is strange for me. Is upload feature by default in Links SQL? Or do you use a plugin?
In case you use any plugin to enhance features of jump.cgi, then I would recommend you to contact the author...

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...