• Resolved seedeeb

    (@seedeeb)


    The good people at wordpress.com have identified a conflict with the wordpress media library and this plugin. A bit ago, I noticed that when I added photos to the media library I used to be able to import the meta data captions right in to the media library along with the photos. Then one day it just stopped. I never dug in to it until now. I had wordpress support help me to identify this plugin. When it’s disabled, the captions import. When it’s active, they do not. Please advise.

    Wayne

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Bowo

    (@qriouslad)

    @seedeeb thanks for reporting this issue. How do you perform the “import” of the captions?

    Can you share which modules are enabled in ASE in your site?

    Thread Starter seedeeb

    (@seedeeb)

    I go to the media library and simply click the “add media file” button on the top. And then click the “Select Files” button that appears. Choose my files and click “Upload”.

    As far as module, upon reviewing what I had turned on, I tested this one and it seems to be the culprit.

    Image Upload Control – I had it set for 1024×1024

    When I disabled it and tried to upload and image the caption came through. Let me know your thoughts please.

    Wayne

    Plugin Author Bowo

    (@qriouslad)

    @seedeeb thanks for the further info. So, how are you adding the caption in the first place? Is it through a photo/image editor in your desktop app? Do you mind sharing an example of the original file of an image with a caption in it? Perhaps via a google drive link? So I can try and replicate the issue you are seeing, which is the first step in bugfixing / troubleshooting.

    It’s likely that that the image upload control is stripping off image meta data when it converts to JPG / resize an image, which is part of the image optimization process. You can always exclude an image from such optimization process by appending the ‘-nr’ suffix in the filename. e.g. tall-building.jpg should be renamed to tall-building-nr.jpg before uploading while the Image Upload Control module is active.

    Thread Starter seedeeb

    (@seedeeb)

    A photographer sends them to me with the captions embedded. I’m not sure what program he uses, I can check if needed. Yes, I can give you an image as an example. How should I send that to you? I usually get 10-20 images from him and mass upload. Renaming 20 files isn’t something I really want to do, but can. I’ve just decided that I will turn that module off prior to upload and then back on after. So that’s my work around for now.

    • This reply was modified 9 months ago by seedeeb.
    • This reply was modified 9 months ago by seedeeb.
    • This reply was modified 9 months ago by seedeeb.
    Plugin Author Bowo

    (@qriouslad)

    @seedeeb I see. You can send via google drive share link. At least there is a workaround for now.

    Thread Starter seedeeb

    (@seedeeb)

    Here’s the link. let me know if you have a problem

    https://drive.google.com/file/d/1Req0fyTkBDg6gTDnvVjV8SyshfuZ-S0X/view?usp=share_link

    Wayne

    Plugin Author Bowo

    (@qriouslad)

    @seedeeb thank you. I can see the caption is added as a ‘Description’ in the IPTC meta data on the file. I’ve researched this further and there doesn’t seem to be a reliable way to preserve the caption data when an image is being resized (part of the optimization process) by WP image editor when it is using the GD library (which many sites / hosting server use). At the moment, please use the workaround you’ve shared earlier.

    Technical note:

    • There is the image_strip_meta hook that only works with Imagick library to prevent WP from removing EXIF/IPTC meta data
    • However, it only applies when Imagick library is in use by WP image editor, not when GD library is used.

    I’m marking this resolved for now as it’s less of an issue with ASE, but more an issue with how WP core handles image resizing itself.

    Plugin Author Bowo

    (@qriouslad)

    @seedeeb additionally, you can check “Tools >> Site Health >> Info >> Media Handling”, and it’s probable that your site is using the GD library. If you can enable Imagick library instead, your caption should be retained upon upload while ASE’s Image Upload Control module is active. Try asking your hosting provider / server sysadmin if they can enable Imagick library in your site. Alternatively, you can consider migrating to another hosting / server that supports it.

    Plugin Author Bowo

    (@qriouslad)

    @seedeeb quick update: I just found https://ww.wp.xz.cn/plugins/improved-gd-image-editor/ that seems to solve the issue when your site uses GD library to handle images. Please give it a try.

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

The topic ‘Image captions aren’t importing’ is closed to new replies.