Responsive Filemanager Thumbnails not showing

北城余情 提交于 2020-01-24 13:32:29

问题


Using Responsive Filemanager 9.11.3 Thumbnails are not showing/blank in dialog window (GUI). In ftp thumbnails pictures are okay created successfully. Folder "thumbs" permission 755 files permission 644. i changed to 755 still not showing up in dialog window. thumb sizes are 2.4kb


回答1:


I faced the same problem, if you resize that iframe or the div where responsive file manager is, then thumbnails will show up...

Work around:

  • set iframe height/width to be 101%
  • set onLoad attribute to iframe that will resize iframe width/height to 100%

Example:

<script>
function loadThumbs() {
    var rfm = document.getElementById("rfm");
    rfm.style.height = "100%"
}
</script>
<iframe id="rfm" onload="loadThumbs()" src="..." style="height: 101%; width: 100%;" />



回答2:


I've finally found full solution: It's all because of $lazy_loading_enabled variable. On first load it is true. In dialog.php line 621 just set its value to false

$lazy_loading_enabled = false;

Now it should work. Hope this was helpful.



来源:https://stackoverflow.com/questions/43896772/responsive-filemanager-thumbnails-not-showing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!