PDA

View Full Version : java zoom not working since beta


skidpics
October 9th, 2008, 03:59 PM
I think I mentioned this in the beta, but I cannot get my java zoom to work. it is enabled, but I just get nothing on that..

piersshepperd
October 18th, 2008, 07:11 PM
Hi there,

I did a fresh install of 6.2 and think I tracked it down to the paths generated in pp-inc.php for tjpzoom.js and focus.js

The tjpzoom.js and focus.js files are located in the photopost/js/ directory but is referenced in pp-inc.php to just the photopost directory.

Edit pp-inc.php to show the correct location.

if ( THIS_SCRIPT == "showphoto" && $Globals['zoom'] == "yes" )
{
$javapopup .= "<script type=\"text/javascript\" src=\"{$Globals['maindir']}/js/tjpzoom.js\"></script>\n
<script type=\"text/javascript\" src=\"{$Globals['maindir']}/js/instant.js\"></script>";
}


Cheers,
Piers

Chuck S
October 18th, 2008, 11:52 PM
That would indeed be correct as I see this as well