Additional info: when I print out the response to console I only receive:

*<img src='data:image/jpeg;base64,' width='262'/>*

So my base64-encoded string is cutted out. When calling 
my reloadurl directly in the browser the image shows up correctly.
Any further suggestions to this?
 
regards
mabei

Am Dienstag, 14. August 2012 09:24:51 UTC+2 schrieb mabei:
>
> Dear Victor,
>
> thanks for your reply. I checked the response header and it's "
> Content-Type:
> text/html; charset=UTF-8". 
> Unfortunately I couldn't check the response because it's empty. Printing 
> the return-part in my controller
> I got the correct base64-encoded string. I checked prototype api docs and 
> it says, the response is going to be eval'd
> before it shows up in browser.
>
> So what to do? Simply change the response content type? Is there any 
> base64-Type?
>
> regards
> mabei
>
>
> Am Montag, 13. August 2012 14:00:46 UTC+2 schrieb Victor:
>>
>> I deliver a URL to my controller service via prototype ajax. This one is 
>>> fetching the image and returns
>>> the image base64_encoded.
>>>
>>> While observing the response I noticed just an empty result.
>>>
>>
>> How are you observing the response? Use network sniffer and/or Network 
>> pane from Web Developer Tools in Chrome (Shift+Ctrl+I). Check content and 
>> type of the response ('Content-Type' header).
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/l2pg7_2S8tQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to