WordPress.org

Ready to get started?Download WordPress

Forums

Exifography
[resolved] Quotation marks in the exif field (3 posts)

  1. trouille2
    Member
    Posted 1 year ago #

    Hello,
    I'm developping a website for a photographer who send me about 400 pictures with legends in the exif. We tested it before with 5 pictures and, thanks to exifography, it was running like a charm, now with the 400 pack, I discover the photographer put quotation marks in the description of a big part of the pictures. That obviously, ruin the code. Any idea on how to deal with it?

    http://wordpress.org/extend/plugins/thesography/

  2. trouille2
    Member
    Posted 1 year ago #

    Ok, it was easy.
    In the code, while calling the exif field, use str_replace to remove replace the quotation marks by "
    str_replace('"', '"', $string)

  3. kristarella
    Member
    Plugin Author

    Posted 1 year ago #

    Hey, glad you figured it out. Did you use a filter to do that or change the core code? If the latter just be aware of that when there's a plugin update.

    If you didn't use a filter and want to the instructions are here: http://www.kristarella.com/2012/07/filtering-exifography-output/#change-item

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic