Search found 2 matches

by alc97
Sat Jan 12, 2008 9:14 am
Forum: Joombie Coding Q/A
Topic: Binary Upload
Replies: 19
Views: 2725

Re: Binary Upload

Thanks for the reply. I changed the code in image.php to header("Content-Type: " . $this->filetype), but still won't show up. There's a mistake when saving the image, so I have to comment out the "addslashes" line. Now I can see the image. May be the reason is I use JTable object, not direct sql com...
by alc97
Fri Jan 11, 2008 11:58 am
Forum: Joombie Coding Q/A
Topic: Binary Upload
Replies: 19
Views: 2725

Re: Binary Upload

hi, I'm having trouble to view binary data after I saved it. My image tag looks like this: c is the controllername. In my views directory, i have e1 folder with view.raw.php and a template folder for image.php file Inside view.raw.php, i have this function: function _displayImage($tpl) { global $mai...