WordPress.org

Ready to get started?Download WordPress

Forums

Image Metadata Cruncher
Behavior for non images (3 posts)

  1. brianstanfill
    Member
    Posted 1 year ago #

    Hi, I'm using a plugin (PJW Mime Config) that enables the uploading of unsupported mime types with the WordPress media uploader. When Image Metadata Cruncher attempts to apply the template tags, it freaks out with this message:

    Crunching...
    Warning: array_merge(): Argument #1 is not an array in [redacted]/wp-content/plugins/image-metadata-cruncher/image-metadata-cruncher.php on line 166
    3687

    I'm using these tags:

    Title: { Image:filename }
    Alternate text: { Image:filename }
    Caption:
    Description: { IPTC:Caption | EXIF:ImageDescription }

    The file I'm uploading does not contain IPTC, EXIF, or other image data. It is a plaintext XML file. How would I configure Image Metadata Cruncher to ignore certain file types or to use a filesystem template tag for the Title field that would work for more than just image files.

    Thanks!
    Brian

    http://wordpress.org/extend/plugins/image-metadata-cruncher/

  2. peterhudec
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Brian,
    I will look at it and let you know when it's fixed.

    Peter

  3. jwssnr
    Member
    Posted 7 months ago #

    Hi Peter

    Great Plugin! But I have the same problem with PDF.
    Did not testet other files yet.

    I use these tags:
    Title: { Image:filename }
    Alternate text: { IPTC:Headline }
    Description: { EXIF:ImageDescription }

    Thanks
    J├╝rgen

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.