• Resolved andresmolina

    (@andresmolina)


    Hi Guys,

    It is me again, this time im bringing you a small but annoying bug that sure you will be able to fix or at least help me out.

    I thought it was related to the languages thing but now that your plugin is absolutely compatible with WPML (god bless you) i know is not.

    So please check the image bellow, you will see it says 4 missing images, but the truth is that those images, does not exist.

    Error Missing images

    I kind of remember that those image existed in the past but i deleted them cause i do not need them anymore, but some how your plugin finds something ( I guess maybe in database or something)

    Thanks
    Kind regards

    https://www.ads-software.com/plugins/wp-smushit/

Viewing 6 replies - 1 through 6 (of 6 total)
  • @andresmolina,

    Plugin picks the images from database, and while getting the attachment ids, we don’t check if image is still there or not, as it’d be extremely expensive in terms of performance.

    And hence while smushing, if a image is not found, we display a message, so that user can fix it ( By regenerating thumbnail ) if it was deleted accidentally, if they would like to.

    This can be avoided by deleting the images directly from library instead of manually deleting it from directory.

    Cheers

    Thread Starter andresmolina

    (@andresmolina)

    Do you know of any plugin that will clean up unexisting images?

    @andresmolina, None that I’ve used and recommend you directly.

    Thread Starter andresmolina

    (@andresmolina)

    Well, i ended up doing it my self by searching on the database, problem solved, but you might want to think about adding that functionallity on the premium version to search images referenced on the database, but that does not exist anymore…

    Thanks
    Kind regards

    @andresmolina, There are few plugins out there for same, but they often get pretty bad reviews.

    Though if we get good amount of feature requests for the same, we might come up with something for that.

    Thanks again, will mark this as resolved.

    Cheers

    Thread Starter andresmolina

    (@andresmolina)

    Sure, mark it as resolved.

    Just to give a heads up, what you can find out there in relation to other plugins is plugins that claims they can clean up of images that are not being used. What I am talking about here is for images on database, that does not exist in a specific folder… in fact your plugin already does that.. the only thing you need to do is to allow a button saying delete this entry from database.

    Thanks
    Kind regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Missing images, that dont exist’ is closed to new replies.