This topic is locked

How to display a default image

5/7/2008 3:42:13 PM
ASPRunnerPro General questions
E
ebolisa author

Hi all,

I've a picture field (image data type in MSSQL) where the user uploads his product's picture.

Because not all the users do upload images, I'd like the view page show a "default picture/image" when this occurs. How do I go by?

TIA,

Emilio

J
Jane 5/8/2008

Emilio,
place your default image to the include/images/ directory and rename it to no_image.gif.

E
ebolisa author 5/8/2008

Jane,

In my case, worked better placing the image in the output/images directory.

Thank you.

Emilio