问题
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 be101%
- set
onLoad
attribute toiframe
that will resizeiframe
width/height to100%
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