I have an API call opening a single image. The works fine if its the 1st link I click on when the page is loaded. However, If I click on my other links (new window using Javascript), then try clicking on the API link, I get errors.
This is the error from IE8:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Tue, 8 Jun 2010 10:15:59 UTC
Message: 'settings.default_width' is null or not an object
Line: 183
Char: 4
Code: 0
This is the error from Firefox 3.6.3:
Error: pp_images is not defined
Source File:
/includes/prettyphotoBeta/js/jquery.prettyPhoto.js
Line: 165