On js/jlightbox.uncompressed.js "loading.gif" and "closelabel.gif" use "/sites/all" path, even if the module is installed elsewhere (eg. sites/mysite.com). It causes many 404 errors on log and some interactions problems. Now the only way to fix it is to manually change js/jlightbox.uncompressed.js path and rename it to js/jlightbox.js.

How can we pass drupal_get_path('module', 'jlightbox') to that Javascript function?

Comments

sun’s picture

Status: Active » Closed (duplicate)