I am trying to ad a URL link to an image that is called by JS.
The part that is calling the image I believe is this:

Code:
//Load directory preview in top of window corner

function loadDirectoryPreview() {
	var destinationPath = encodeURIComponent(hashListener.getHash().toString().replace("#", ""));
	destinationPath = destinationPath || "/";
	$("div.directoryPreview").hide();
	var ok = true;
	if (!$(document).data("disableDirectoryLogo")) $("div.directoryPreview").empty().append("<img id='directoryPreviewImg' src='" + destinationPath + ".logo.png' />");
	$('#directoryPreviewImg').load(function () {
	$('div.directoryPreview').show();
					});
				}
Any help is really appreciated!