Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/266.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
Php 类别=“类”;“断开连接”;拉推推特配置文件图像时_Php_Jquery_Css_Html_Twitter - Fatal编程技术网

Php 类别=“类”;“断开连接”;拉推推特配置文件图像时

Php 类别=“类”;“断开连接”;拉推推特配置文件图像时,php,jquery,css,html,twitter,Php,Jquery,Css,Html,Twitter,因此,我正在设置一个实时推特提要,该提要将ID/user/tweet/profile图像拉入其中。 我在ajax调用中实现了这一切,但由于某种原因,当我试图显示图像时,图像标记上应用了一类“断开折叠”,而图像没有显示。如果我检查元素,我可以看到图像的url及其正确性。我可以点击src,它会带我到图像。这是我如何添加img标签的 var profileImg = this.profileImg; var response = "<div class='tweet' id='"+id+"'&g

因此,我正在设置一个实时推特提要,该提要将ID/user/tweet/profile图像拉入其中。 我在ajax调用中实现了这一切,但由于某种原因,当我试图显示图像时,图像标记上应用了一类“断开折叠”,而图像没有显示。如果我检查元素,我可以看到图像的url及其正确性。我可以点击src,它会带我到图像。这是我如何添加img标签的

var profileImg = this.profileImg;
var response = "<div class='tweet' id='"+id+"'><img src='"+profileImg+"' /></div>";

$('#results').prepend(
          $(response).css({
            'background-color' : tweetColour,
            'left': posx+'px',
            'top': posy+'px',
            'display':'none',
            'width': '100px',
            'height' : '100px',
            'z-index' : zIndex
            })
        );
var profileImg=this.profileImg;
var响应=”;
$(“#结果”)。前置(
$(响应).css({
“背景色”:背景色,
“左”:posx+“px”,
'top':posy+'px',
“显示”:“无”,
“宽度”:“100px”,
“高度”:“100px”,
“z索引”:zIndex
})
);
有人知道为什么图像不会显示,以及“断开”在做什么吗


感谢

浏览器扩展应用了

进一步了解Deepak Mittal的答案,如果您想显示配置文件图像,您可以

  • 卸载断开连接
  • 或者,如果你不想这样做,你可以

  • 用Chrome进入你的订阅页面
  • 通过单击Chrome工具栏中的黑色D图标打开断开面板
  • 在顶部应该有一个绿色的框,旁边有一个白色的Twitter图标和一个大于0的数字
  • 单击Twitter图标,它将变为灰色,这意味着您已解锁Twitter