The javascript declaration is not included in my page (Drupal 5.7):

<script type="text/javascript" src="http://lite.piclens.com/current/piclens_optimized.js" />

(missing / at the end for closing !)

It works very nice with browser Plugin. Because the missing javascript declaration in the page the Slideshow works not without the plugin. A solution is to insert it manually in the page.tpl.php.

Thanks for this module !

Comments

swentel’s picture

If it's not included, are you missing the $head variable in your page template ?

You also probably fixed a very annoying bug I had here during tests today. I got blank screens on some browsers (safari & ie) If you add that ' / ' (or

in the module (too lazy for a patch right now), does it work then ? (don't forget to toggle the checkbox in the settings off course).

tonino66’s picture

No, the $head variable is in the page template.
I checked the database and the variable piclens_image_gallery_js is set.
It seems that the function piclens_lite_javascript() is the problem.

I will check it with another site/theme, maybe it's an theme (SKY) problem.

The patch for targeting the links works fine.

swentel’s picture

I was wrong btw about the $head variable.
In drupal 5 I'm using drupal_set_content('conten' , '<script ...'); because using drupal_set_head gives page template errors.

swentel’s picture

Status: Active » Closed (fixed)

I'm going to close this issue as at least one problem has been resolved by this report (closing script tag).
I've been testing some other themes also and inclusion was never a problem. If another theme comes up with problems, it might be a new feature request to make the the region selection configurable on the settings page.

Thanks for the report!