[Owncloud] Broken images ....
Victor Dubiniuk
victor.dubiniuk at gmail.com
Tue May 22 10:58:21 UTC 2012
Extra empty lines after ?> are killing output.
I' d recommend all app developers to check their /appinfo/app.php for
closing PHP tag right now and remove it if any.
May be it is a good idea to clear the output buffer after
OC_App::loadApps() execution.
----
Victor Dubiniuk
victor.dubiniuk at gmail.com
http://www.linkedin.com/in/vicdeo
On Tue, May 22, 2012 at 1:40 PM, Victor Dubiniuk
<victor.dubiniuk at gmail.com>wrote:
> Hi Thomas,
>
> remove the closing ?>
> in the file apps/files_odfviewer/appinfo/app.php
> to fix it.
>
>
> ----
> Victor Dubiniuk
> victor.dubiniuk at gmail.com
> http://www.linkedin.com/in/vicdeo
>
> On Tue, May 22, 2012 at 2:14 AM, Thomas Müller <thomas.mueller at tmit.eu>wrote:
>
>> Hi,
>>
>> has anybody of you deeper knowledge about php-gd?
>>
>> One of my ownCloud installation (done with the Debian package) is
>> returning broken images for e.g.
>>
>> http://localhost/owncloud-git/?app=gallery&getfile=ajax/thumbnail.php?img=/Winter.jpg
>>
>> The thumbnail itself exists on both installations and it is posted back
>> to the browser.
>>
>> The only difference is a new line between the content length and the data.
>> This new line causes the browser not to show the image.
>>
>> Here is the interesting part of the working response:
>> Transfer-Encoding: chunked
>> Content-Type: image/jpeg
>>
>> 2000
>> ......JFIF.............>CREATOR: gd-jpeg v1.0 (using IJG JPEG v80),
>> default quality
>>
>> and here the broken repsonse:
>> Transfer-Encoding: chunked
>> Content-Type: image/jpeg
>>
>> 2001
>>
>> ......JFIF.............>CREATOR: gd-jpeg v1.0 (using IJG JPEG v80),
>> default quality
>>
>> I appreciate any response and idea how to fix this issue!
>>
>> Thanks a lot,
>>
>>
>> Thomas
>>
>> --
>> Thomas Müller E-Mail: thomas.mueller at tmit.eu
>>
>> _______________________________________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/listinfo/owncloud
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120522/d2c071d0/attachment.html>
More information about the Owncloud
mailing list