• Hi,

    I try to get EXIF information displayed. I had that working in the non-pro version, but the pro version is different. I located the code in class.nextgen_pro_lightbox_controller.php:

    foreach ($images as $image) {
                            $retval[] = array(
                                'image'       => $storage->get_image_url($image),
                                'title'       => strip_tags($image->alttext),
                                'description' => strip_tags($image->description),
    
                                'image_id'    => $image->{$image->id_field},
                                'thumb'       => $storage->get_image_url($image, 'thumb')
                            );
                        }

    I tried to add something here:

    'description' => $image->description. '? ' . utf8_decode($image->meta_data['copyright']) . ', ' . $image->meta_data['created_timestamp'] .' @ '. $image->meta_data[focal_length]. ' - '.$image->meta_data[shutter_speed].', ' . $image->meta_data[aperture] .', ISO '.$image->meta_data[iso],

    But this did not work.

    Any suggestions would be most welcome.

    Thanks

    Stefan

    PS: Suggestions how to make this update save would be very welcome too.

    St.

    https://wordpress.org/plugins/nextgen-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @stefan-m – Please direct any questions or concerns with NextGEN Pro to your member’s area at http://nextgen-gallery.com/

    Thanks!

    – Cais.

    Thread Starter stefan-m

    (@stefan-m)

    I did ask the pro support and the answer was, that this is not supported. Since I want to modify code, I understand this answer, but the only way to get help seems to be to ask the community (other pro users).

    Best

    Stefan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying EXIF information in NGG Pro’ is closed to new replies.