Saturday, 15 June 2013

php - Broken png image using Laravel Asset Pipeline despite 200 OK status -



php - Broken png image using Laravel Asset Pipeline despite 200 OK status -

i'm using codesleeve/asset pipeline on laravel project serve css, js , image files. on whole works fine there issue displaying css-loaded images. image not display , shows browser's "broken image" symbol when loading straight (http://art.ipscap.com/assets/select2.png example): e.g.

upon inspecting page shows image loaded 200 ok status (or cached) there seems error displaying it. seeing image in question displays fine on local machine , problem in production there way diagnose issue?

edit: still haven' t managed find solution this. reference live broken image url https://art.ipscap.com/assets/select2.png. image in app/assets/images/select2.png , readme in same directory states:

if place image here called foobar.png can access image going http://<hostname>/assets/foobar.png

i find unusual image not fail load beingness broken asset pipeline. same not seem occur other images in app such header jpeg image.

do utilize different server software on local , production server? see production uses nginx. in case, might have add together config stated here:

https://github.com/codesleeve/asset-pipeline#can-i-use-nginx

php image http laravel-4

No comments:

Post a Comment