|
|
| Author |
Message |
Hydraulix Guest
|
Posted: Wed Feb 22, 2006 4:10 pm Post subject: Online DB HTML |
|
|
I was busy changing my templates for HTML again.
I made and succesfully used some of my templates before but now I am encountering a problem.
I changed the Online DB templates just a little bit.
The problem I am encoutering is the NOPIC option. It doesn't seem to work in either the standard Online DB templates or the one I canged.
Here is the code :
if(movie.PICTURE!=""){
temp+="<img src='"+movie.Picture+"' width='98' height='140'>";
}else{
temp+="<img src='nopic.jpg' width='98' height='140'>";
}
I placed the nopic.jpg in both the template and the IMG directory in the template but I just simpy doesn't find it.
Please Help !!
Sincerely,
Jesper Koot |
|
| Back to top |
|
 |
bolide Site Admin
Joined: 04 Aug 2005 Posts: 585
|
Posted: Wed Feb 22, 2006 7:56 pm Post subject: Re: Online DB HTML |
|
|
Place nopic.jpg in the AllMyMovies\templates\online db\img\ folder and replace the code you qouted to:
if(movie.Picture=="") movie.Picture="img\nopic.jpg";
temp+="<img src='"+movie.Picture+"' width='98' height='140'>";
It should work |
|
| Back to top |
|
 |
|