large image popups not displaying large image popups not displaying
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

large image popups not displaying

Started by HarryAdney, November 22, 2021, 06:35:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HarryAdney

Hey guys,

I built a site years ago for a client and all was well, until a few days ago when my client told me that when she clicks on an image, there's no enlarged image displaying.

Details
I upgraded from 1.5.x to 1.6.16. The site is displaying as expected (though I'm building a new, up to date site for the client) but clicking on any image results in the following console error in dev tools:
     
    Uncaught ReferenceError: enlarge is not defined
    at HTMLImageElement.onclick (thumbnails.php?album=3:193)


I have the following plugins installed, which have some image display functions:

  • Fit screen (fit_screen): v1.0
  • EnlargeIt! (enlargeit): v1.15
  • (link_target): v1.2
  • Panorama Viewer (panorama_viewer): v1.4
  • Fancybox Media Display (fancybox): v1.3

Any ideas what's gone wrong (and, of course, how to fix it)?

Many thanks




ron4mac

Start by disabling those plugins. If everything works as expected after that, enable one at a time to find one causing the issue.
Is it possible to provide a link to the site?

HarryAdney

Hi, thanks for replying. The website is https://wensleydale-archive.info. I haven't tried disabling the plugins yet, so I'll try that now; thanks for the suggestion.

HarryAdney

Thanks very much mate. It was the EnlargeIt plugin that was causing the problem.