Images not showing
Hi Jason, thank you for the reply. The records are listed in the database showing the relative path for example: dbImages/image1.jpg. I tried using
<!-- Script for checking that the image is correct--><?php if(file_exists("../".str_replace(".JPG",".jpg",$row_WADAinventory["image"]))) { ?><img class="WADAResultThumb" border="0" src="../dbImages/<?php echo $row_WADAinventory["image"]; ?>" alt="<?php echo $row_WADAinventory["model"]; ?>" /><?php } else { ?><img class="WADAResultThumb" src="../images/default.jpg" border="0" alt="<?php echo $row_WADAinventory["model"]; ?>" /><?php } ?></a>
to no avail