• Resolved dovydasg

    (@dovydasg)


    Seems to be great theme, way faster than “smush” from which Im trying to switch.
    Sadly I have problem with image title change and cant figure out how to fix it.

    Every time I upload picture it changes automatically the name of picture to actual picture name in windows e.g. DSC0001.jpg – which is visible in website and does nothing good for SEO or users.

    Images that I am uploading already has metadata inside them for title (if you go on windows to properties-details of the image, you will see first box says Description:”Title”)
    Seems this plugin does not take info from there and overwrites it.

    “Smush” theme in comparison takes all metadata correctly and writes to image, so I can set copyright title to images.

    HOW to do this in “Imsanity”? Can you guide how to do it maybe in settings file? Or just completely disable Re-naming of upladed images? Since wordpress itself does the same job by leaving correct metadata from images.

    • This topic was modified 7 years, 6 months ago by dovydasg.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    What is likely happening is that the metadata is stripped by the resizing process. Imsanity itself doesn’t technically do the resizing, it uses the core WordPress functions for that. The core functions, in turn, use one of the PHP libraries for image resizing: GD or Imagick (ImageMagick).

    The GD library always strips metadata, and has no ability to preserve it, if your webhost has the imagick extension for PHP available, then enabling that could very well solve the problem.

    Please note that Imsanity is not a “proper” image optimizer like Smush, it essentially does just what Smush’s Image resizing option will do, but faster, because it does it locally on your server.

    To that end, if your webhost doesn’t have Imagick available, I recommend you try out the EWWW Image Optimizer. If your webhost supports the free mode, EWWW IO will do the same resizing as Imsanity + the compression that Smush does, all locally on your server (so it’s fast like Imsanity too). AND, it will preserve the metadata, even if you’re stuck with the GD library on your website.

    Thread Starter dovydasg

    (@dovydasg)

    I installed “EWWW Image Optimizer” sadly it has exactly the same problem.

    I see this plugin has more options, but no matter if I check or uncheck option:

    “Remove Metadata (This will remove ALL metadata: EXIF, comments, color profiles, and anything else that is not pixel data.)”

    It still deletes all metadata of image including description and title and changes title to image name. so instead of copyright text or website inside image title, I have “013_DSC07947” image title which is shown to all visitors of the page..

    Wordpress is latest version: 4.9.8

    Plugin Author nosilver4u

    (@nosilver4u)

    As you guessed, you definitely have to uncheck the Remove Metadata option, but I’m surprised it still doesn’t work for you.
    If I’m understanding right, you’ve embedded the Title in the image metadata, which would normally come across into the WordPress “attachment title” when you upload (rather than the rather ugly filename of the image), but when using Imsanity or EWWW IO’s resizing options, it uses the filename as the image title, right?
    EWWW IO is supposed to copy back the metadata when the Remove Metadata box is unchecked, so that might be some sort of bug.

    Can you give me a link to one of the original images you uploaded, so I can check it out?

    Thread Starter dovydasg

    (@dovydasg)

    currently migrating servers so cant provide link.

    But problem is quite simple. if I turn off plugin and upload image – everything is ok. image title and description goes from image properties correctly. but if I turn on this plugin, no matter if i check, or uncheck option to remove metadata – it still removes all metadata on image upload and replaces image title (which is inside image file properties) with image file name.

    Plugin Author nosilver4u

    (@nosilver4u)

    When you’re done, send me a link, even though the issue may appear “simple”, it’s quite impossible for me to replicate without an example image. While I likely have some images with similar metadata, I want to be sure I’m replicating exactly what you’re doing.

    Thread Starter dovydasg

    (@dovydasg)

    here made test page in test still not live page: http://dovydasgaidamavicius.lt/test
    on first images you can see the problem for title which also appears for viewer.
    6th, 7th and 8th image is resized using “smush” plugin and real title of image still visible. also if I go inside WP admin, on all images imported with your plugin – description is gone and title is changed to image filename.

    Plugin Author nosilver4u

    (@nosilver4u)

    All of those images have the meta stripped, can you please upload one without any optimization plugins active, and send a link to the original image itself?

    Thread Starter dovydasg

    (@dovydasg)

    Plugin Author nosilver4u

    (@nosilver4u)

    When you had EWWW IO active, did you make sure to deactivate Imsanity first? When I upload that same image with just EWWW IO active, and Remove Metadata unchecked, I get your copyright notice in the Title & Caption fields for the upload.

    Thread Starter dovydasg

    (@dovydasg)

    I double checked now and here what I have:

    enabled plugins:

    EWWW Image Optimizer
    The7 Elements
    The7 Go Pricing – WordPress Responsive Pricing Tables
    The7 Ultimate Addons for WPBakery Page Builder
    The7 WPBakery Page Builder

    Made sure that setting “Remove metadata” – unchecked

    uploaded same image again. here it is:
    http://www.dovydasgaidamavicius.lt/wp-content/uploads/2018/11/001_0-3.jpg

    If I download this image back to computer and inspect “properties” I do see that all metadata is still there, BUT wordpress shows otherwise. so seems that this plugin wipes it from wordpress side only.

    all this strange issue you can see here, uploaded screenshot of both images inside wordpress and downloaded back to PC settings:
    http://prntscr.com/lnbb6y

    Plugin Author nosilver4u

    (@nosilver4u)

    Please enable the debugging option, and send the Debug information shown below the settings via https://ewww.io/contact-us/
    There’s something else going on here that I can’t quite pin down, because EWWW IO should never be altering the Title & Caption fields, ever.

    Thread Starter dovydasg

    (@dovydasg)

    sent debug log, will wait for info in email. thanks

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

The topic ‘Problem with image title change’ is closed to new replies.