RE: [Zope] MySQLDA and images beeing corrupted

2001-01-12 Thread Max Møller Rasmussen
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Any ideas? I feel like I am *so* close to making this work! It sounds like you have some sort of escape problem, with special characters being handled as text. Don't you have to treat the image as text when inserting them into mySQL and then

Re: [Zope] MySQLDA and images beeing corrupted

2001-01-12 Thread Phil Harris
Change your dtml to: dtml-in hent_bilde dtml-call "RESPONSE.setHeader('Content-Type', 'image/gif')" dtml-call "RESPONSE.setHeader('Content-Length', _.len(bildefil))" dtml-return bildefil /dtml-in hth Phil - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: