• It would be great to be able to show the “Credit” metadata value in carousel.

    I’ve hacked this in myself, but I think it would be a nice feature.

    jetpack-carousel.js
    Modify line 1072 from:
    if ( 0 === parseFloat(val) || !val.length || -1 === $.inArray( key, [ 'camera', 'aperture', 'shutter_speed', 'focal_length' ] ) )
    to
    if ( 0 === parseFloat(val) || !val.length || -1 === $.inArray( key, [ 'camera', 'aperture', 'shutter_speed', 'focal_length', 'credit' ] ) )

    jetpack-carousel.php
    Add new line at line 120
    'credit' => __( 'Credit', 'jetpack' ),

    Pretty simple. Perhaps a config option to enable or disable this would be good as well.

    Thanks
    Ben

    https://www.ads-software.com/extend/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I like the idea, but I’m not sure that “credit” is a common and standard EXIF tag. While you may have added this metadata to your own images, it may hold a different name when used with a different camera.

    After a quick look, the “Artist” tag seems more appropriate. I created a Trac ticket to register your suggestion, and we will consider adding this feature to a future jetpack update.
    https://plugins.trac.www.ads-software.com/ticket/1816

    Thanks for your feedback!

    Thread Starter jamminb

    (@jamminb)

    Ah yes true, mine is populated in Lightroom as the “creator” which then becomes ITPC.Creator in JPEG, and somehow ends up in the “Credit” metadata value in WordPress.

    Perhaps something more configurable where you could just list the wordpress metadata values in plain text would be more flexible then. Should be fairy simple to append the configured value to the 2 strings in the above code.

    Thanks for considering this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Carousel feature suggestion to show photo credit (with code)’ is closed to new replies.