Gossamer Forum
Home : Products : DBMan : Customization :

Picture not yet available.

Quote Reply
Picture not yet available.
At this moment I use
<img src="http://mydirectory/$rec{$db_key}.jpg" > for displaying a picture with every record.

But now there are a few records without a picture. For those records I have make an image with text : NOT AVAILABLE !

Is it possible to have this picture for every record without an image ? What do I need to change ?

A second question : is it possible to have more then one picture, but displayed like in OUTLOOK EXPRESS (one picture, a button with go to next or back)?
For those pictures I will also use the dbkey.




------------------
--- Luc
Quote Reply
Re: Picture not yet available. In reply to
I have a solution for the first problem.
It's fixed now and it works fine.

But, I am there always with my second problem.

How is it possible to make more then one picture and display this after a click on the next button. (see MS oulook Express)
Any Idea ?

------------------
--- Luc
Quote Reply
Re: Picture not yet available. In reply to
Hi,

mind telling me how you solved your first question?
Quote Reply
Re: Picture not yet available. In reply to
I just used the if - else for it. Works fine.
-----------
if ($rec{'Graphic'} eq "Yes") {
print qq|
<tr>
<td rowspan="9" colspan="2" width="226" align="center"><img src="http://ballooning/register/$rec{$db_key}.jpg" ></td>
</tr>
|;
else {
print qq|
<tr>
<td rowspan="9" colspan="2" width="226" align="center"><img src="http://ballooning/register/NA.jpg" ></td>
</tr>
|;
}
----------------

Hope this will works also for you.



------------------
--- Luc
Quote Reply
Re: Picture not yet available. In reply to
oh darn,

Is the keyword "Graphic" suppose to be come with the picture upload mod?

I don't have that installed. I don't allow my users to upload pictures and instead i have them typed a special code and simply have something like: <img src="/images/$rec{'code'}.gif"> to print out an image.....
Quote Reply
Re: Picture not yet available. In reply to
Yes...the codes are inherent with the File Upload Mod.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. Smile
----------------------











[This message has been edited by Eliot (edited February 15, 2000).]