Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/232.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
fancybox不显示php生成的图像_Php_Image_Fancybox - Fatal编程技术网

fancybox不显示php生成的图像

fancybox不显示php生成的图像,php,image,fancybox,Php,Image,Fancybox,我有下一个问题。我曾经用fancybox插件工作过几次,直到我不得不使用cms,它将图像作为代码提供给我。像这样: }!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz��������������������������������������������������������������������������� ���w!1AQaq"2�B���� #3R�br� $4�%�&'(

我有下一个问题。我曾经用fancybox插件工作过几次,直到我不得不使用cms,它将图像作为代码提供给我。像这样:

}!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz��������������������������������������������������������������������������� ���w!1AQaq"2�B���� #3R�br� $4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz��������������������������������������������������������������������������?����m"M_sy�S�����.Y�u d�0z{�g�2]IZ��',���x��G��m!HY�E�� ������� ����8o�.r�__�Ux�l5'F�l�.��gy�cK3��8��)�i�������᧐$:e�d�"#�i]^�?]��5+]Q��/�E���ᰱ����/
它本身正常显示图像,但我想知道我是否有机会看到正常的图像?以下是我使用的代码:

<a class="gallery_item" rel="gallery" href=".../image.php?photogalleryitemid=616&y=200">
<img width="255" height="129" border="0" src=".../image.php?photogalleryitemid=616&x=255&y=129">
</a><!-- many of them with different id's -->

$("a.gallery_item").fancybox();

$(“a.gallery_item”).fancybox();

您错过了msot重要提示,显示图像的php脚本^^^看起来php脚本没有发送“内容类型”标题。我没有访问php的权限。而且它一直显示图像都很好。Firebug说
内容类型图像/jpeg
我同意Dale!检查(常见问题选项卡)第5号