On Wed, Nov 11, 2009 at 2:46 PM, Rami Chowdhury <rami.chowdh...@gmail.com>wrote:
> Now, the problem is that it doesn't print the picture. It prints only the >> url. Please try: >> http://angrynates.com/stcroixresort/cart/getpic.py?w=1&i=1 >> Now, if I go into mysql and the correct database and enter: >> select pic1 from products where ID=1; >> it starts printing out all sorts of crap (indicative of an image) and I >> have >> to close my ssh client. So it's there, all right. So, here I am back to >> trying to figure out how to get that stupid image to print. Please take a >> look at the code above and advise. >> > > I'm fairly sure this was gone through before -- what I'm getting is being > properly sent as a JPEG, but it *doesn't contain valid JPEG data*, so the > browser can't render it. What the URL you pointed me at seems to contain is > the 'readable' representation of an array object. > Yep. A million times before. The problem was the faulty hardware on the cheap server farm. I've moved ;) Thanks, V > > -- > Rami Chowdhury > "Never attribute to malice that which can be attributed to stupidity" -- > Hanlon's Razor > 408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD) >
-- http://mail.python.org/mailman/listinfo/python-list