If No Image exists

Results 1 to 2 of 2

Thread: If No Image exists

  1. #1
    Join Date
    Dec 1969

    Default If No Image exists

    I am drying to work on a site that contains dynamic images, up to two per page. My question is how do I set the value so that an the broken image graphic doesn't appear if no picture is available. Would the best thing be to put a default value for the image value in my database field?

  2. #2
    Join Date
    Dec 1969

    Default That would be the easiest.

    But, if you have people just FTPign images to the server - they wouldn&#039;t necessarily know to update the database.<BR><BR>If that&#039;s the case, just use the FileSystemObject to check to see if the image exists. If so, use it. Otherwise, display the default image.<BR><BR>It&#039;s really up to you and your application.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts