• Resolved CyberPK

    (@cyberpk)


    nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/meta.php has a mistake at line 124 preventing the metadata import

    patch as follow:

    from
    $exif = isset($this->exif_array[‘EXIF’]) ? $this->exif_array[‘EXIF’] : array();

    to
    $exif = isset($this->exif_data[‘EXIF’]) ? $this->exif_data[‘EXIF’] : array();

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Benjamin

    (@benjaminowens)

    Thanks CyberPK! This will be fixed in the next release.

    Thread Starter CyberPK

    (@cyberpk)

    Sorry to say the bug is still present today and prevent the metadata (like date taken) to be correcly loaded.
    I’ve to manually edit the plugin at every update to solve the problem. Please add my fix in the next release.

    Thank you.

    Plugin Contributor photocrati

    (@photocrati)

    @cyberpk – Looks like this was an oversight on our part … we will review this again for inclusion in the next release.

    Thanks!

    – Cais.

    Hi cyberpk
    i would like to try your patch, but i don’t know where to find
    nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/meta.php
    could you please help me?
    angelosarto

    Plugin Contributor photocrati

    (@photocrati)

    @angelosarto – Look under ../wp-content/plugins/ and then follow the path as noted.

    Thanks!

    – Cais.

    Thread Starter CyberPK

    (@cyberpk)

    Please, it isn’t resolved at all!
    Please revert this commit: https://bitbucket.org/photocrati/nextgen-gallery/commits/4877c06
    DO IT! I JUST FOUND THE BUG FOR YOU! SIMPLY REVERT THIS COMMIT AND MAKE IT WORK!!!
    exif_array is the filtered exif data and it’s setup only at the end of the function!
    Came on… I’m really tired to patch the file at every update as in the last year…

    Angelo, se hai ancora problemi scrivi pure qua che cerco di darti una mano e ti spiego cosa fare, perché questi qua non ne hanno intenzione di sistemare. Sono 8 mesi che ad ogni aggiornamento devo applicare questa patch, altrimenti i dati exif non li carica.

    Plugin Contributor photocrati

    (@photocrati)

    @cyberpk – The patch for this issue has been re-submitted for reference, it has just not been committed to the “default” branch at this time while it is being reviewing and tested.

    Thanks!

    – Cais.

    Ciao Cyberpk, innanzitutto grazie
    Ho provato a sostituire la frase
    /wp-content/plugin/snextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/meta.php
    from
    $exif = isset($this->exif_array[‘EXIF’]) ? $this->exif_array[‘EXIF’] : array();

    to
    $exif = isset($this->exif_data[‘EXIF’]) ? $this->exif_data[‘EXIF’] : array();
    Caricando le immagini in una nuova galleria il meta data sparisce
    se dal menù Galleria/altre opzioni/opzione immagine lascio flaggato il “ridimensiona immagine automaticamente dopo caricamento” .
    Se gli flaggo il “No”
    allora l’iptc Caption (meta data) rimane.
    per adesso ho inserito un plugin di ottimizzazione grandezza/peso del file: ewww image optimizer.
    non sono convitissimo del workaround ma sembra funzionare
    Grazie CyberPk
    Risolto un cais..

    Plugin Contributor photocrati

    (@photocrati)

    @angelosarto – Thanks for sharing your experience.

    – Cais.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[SOLVED]***BUG*** importing metadata’ is closed to new replies.