profile pictures blocked

Hello,

Could you please help me with the following problem:

I have added the following code to index.php to get a "loading" picture to show as elgg is loading:

<head>
<link rel="stylesheet" href="loading.css" />
<script src="loading.js"></script>
 
</head>
 
<body>
<div class="se-pre-con"></div>
</body>

The code works correctly, and the loading image is showing while it loads, and it fades over into the elgg site.

But, the elgg site will no longer load the profile images, and the thumbnails. The outer border is also white making it look like the site is in an iframe. All other things load and function correctly.

What could be causing this? How could that code block the retrieval of the images from the data folder and cache? 

  • Maybe some plugin (e.g. your theme plugin) overrides the footer.php view if it's below the plugin where you have the footer.php overriding the Elgg core footer.php. If you changed the Elgg core file, any plugin that overrides footer.php would override your changes. That's one reason why you shouldn't change core files but do any modifications by a plugin (that you can move down in the plugin list to gain a higher priority with regards to overriding views).