Is it possible to set an "if" condition to check if image is available then display it?
I am loading images from an url that will have the ID loaded from the database. Image URL links with bad id will show like this: Example
now on the page it will display as the small blank box, how can i make it display something else or hide it all together?
This is my code
Thanks
I am loading images from an url that will have the ID loaded from the database. Image URL links with bad id will show like this: Example
now on the page it will display as the small blank box, how can i make it display something else or hide it all together?
This is my code
Code:
<a href="http://us.playstation.com/publictrophy/index.htm?onlinename={vb:raw userinfo.field5}">
<img src="http://fp.profiles.us.playstation.com/playstation/psn/pid/{vb:raw userinfo.field5}.png">
</a><br /><br />
Comment