[Owncloud] Broken images ....
Florian Hülsmann
fh at cbix.de
Tue May 22 11:12:06 UTC 2012
Hi Victor,
Thanks, I just pushed a fix to master!
Have a nice day,
Florian
Am 22.05.2012 12:58, schrieb Victor Dubiniuk:
> 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 <mailto: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 <mailto: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 <mailto: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 <mailto: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
> <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
> <mailto:thomas.mueller at tmit.eu>
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org <mailto:Owncloud at kde.org>
> https://mail.kde.org/mailman/listinfo/owncloud
>
>
>
>
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
--
Florian Hülsmann
<fh at cbix.de>
http://cbix.de
More information about the Owncloud
mailing list