nomadsoul Posted January 29, 2019 Share Posted January 29, 2019 Hi, Everything is working ok the image upload and even the cart checkout. But getting the No image available message. Can anyone tell me how to make the image appear? it is only a jpg and very small. It does not upload to the uploads folder either. Link to comment Share on other sites More sharing options...
Larry Posted February 1, 2019 Share Posted February 1, 2019 What is the HTML tag for one of the images that's not showing? Link to comment Share on other sites More sharing options...
nomadsoul Posted February 2, 2019 Author Share Posted February 2, 2019 (edited) Here is the part where it echos the prin from the while loop in the browse_prints file:: Also in the image file you can see that the uploaded files look incomplet without file extensions. The properties just say 'File' --weird // Display each record: echo "\t<tr> <td align=\"left\"><a href=\"browse_prints.php?aid={$row['artist_id']}\">{$row['artist']}</a></td> <td align=\"left\"><a href=\"view_print.php?pid={$row['print_id']}\">{$row['print_name']}</a></td> <td align=\"left\">{$row['description']}</td> <td align=\"right\">\${$row['price']}</td> </tr>\n"; Edited February 2, 2019 by nomadsoul add note Link to comment Share on other sites More sharing options...
nomadsoul Posted February 2, 2019 Author Share Posted February 2, 2019 (edited) sorry two images uploaded. No need to hurry, I'm just going through your book at leisure and review Edited February 2, 2019 by nomadsoul Link to comment Share on other sites More sharing options...
nomadsoul Posted February 2, 2019 Author Share Posted February 2, 2019 btw the information does show up in the DB Link to comment Share on other sites More sharing options...
Larry Posted February 5, 2019 Share Posted February 5, 2019 That's all good info! The files should be just numbers without extensions, that's good. The next thing I'd do is run view_print.php?pid=1 directly in your browser and see the result. Hopefully you'll see a PHP error that explains what's going on. Link to comment Share on other sites More sharing options...
nomadsoul Posted February 8, 2019 Author Share Posted February 8, 2019 I am now getting the 'no image available' default jpg, -a bit of progress, Link to comment Share on other sites More sharing options...
Recommended Posts