Project

General

Profile

bug #3564

Image metadata in lightbox not loaded in some cases

Added by Andreas Kohlbecker over 8 years ago. Updated 3 months ago.

Status:
New
Priority:
Priority09
Category:
cdm-dataportal
Start date:
06/27/2013
Due date:
% Done:

0%

Severity:
normal
Found in Version:
Tags:

Description

In Chrome the Image Metadata in the lightbox is not loaded if you are using the "previous" and "next" button. When the overlay initially opens the metadata always appears. In InternetExplorer it seems not to be working at all.

this is also documented in the source code of ahah-content.js

// for Chrome and >=IE9(???)
        //   - Chrome: this only works for the first image in a lighbox gallery FIXME (need lightbox with callback!)
        jQuery("body").bind('overflowchanged', function(event){
                window.setTimeout(
                        function() {
                            jQuery('#jquery-lightbox').ahahContent();
                        },
                        2000 // milli seconds
                );
        });

JQuery has some functions witch could be helpful in order to solve this issue: the .live() method is deprecated. Use .on() to attach event handlers. Users of older versions of jQuery should use .delegate() in preference to .live().

Alternatively we could use a better light box plugin (#3565 (choose better jquery lighbox plugin)) which offers even callbacks.

History

#1 Updated by Andreas Müller over 8 years ago

  • Target version changed from cdmlib RELEASE 3.2.3 to cdm_dataportal RELEASE 3.2.3

#2 Updated by Andreas Kohlbecker over 6 years ago

  • Target version changed from cdm_dataportal RELEASE 3.5.0 to cdm_dataportal RELEASE 3.5.1

moving tickets to next milestone

#3 Updated by Andreas Kohlbecker over 6 years ago

  • Keywords set to image-viewer

#4 Updated by Andreas Müller over 6 years ago

  • Target version deleted (cdm_dataportal RELEASE 3.5.1)

move open 3.5.1 tickets to next milestone after release

#5 Updated by Andreas Müller over 6 years ago

  • Target version deleted ()

#6 Updated by Andreas Müller over 6 years ago

  • Target version changed from cdm_dataportal RELEASE 3.8 to Reviewed Next Major Release
  • Priority changed from New to Priority12

#7 Updated by Andreas Müller over 2 years ago

  • Priority changed from Priority12 to Priority09

#8 Updated by Andreas Kohlbecker 3 months ago

  • Description updated (diff)
  • Private changed from Yes to No

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)