Jump to content
Larry Ullman's Book Forums

Recommended Posts

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. 

Share this post


Link to post
Share on other sites

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'  --weirdCapture.PNG.541a41aea0d4f009c9a980d391b29f77.PNGCapture.PNG.541a41aea0d4f009c9a980d391b29f77.PNG

// 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 by nomadsoul
add note

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×