J
Jerry Jones
On my website, I have a field in the sql server that lists the image
location/name to display for an item. All is wonderful. How can I have
the site select an 'image is no available' image if the file name it
is looking for does not exist? Right now, it is just showing the
alternate text, which is the image file name it is looking for.
Would it be a big hit on performance to have it check the images dir
for the file name prior to rendering the page, or should it keep an
index somewhere of the files that are there, or am I complete off base
in how to approach this?
location/name to display for an item. All is wonderful. How can I have
the site select an 'image is no available' image if the file name it
is looking for does not exist? Right now, it is just showing the
alternate text, which is the image file name it is looking for.
Would it be a big hit on performance to have it check the images dir
for the file name prior to rendering the page, or should it keep an
index somewhere of the files that are there, or am I complete off base
in how to approach this?