• Resolved diogobguerreiro

    (@diogobguerreiro)


    Hello. Since I installed the plugin finding articles without the images. I have to enter the article and edit the images so they are visible.

    By analyzing I verify that the SRC link is not correct.

    It was not difficult to find a problem article: https://www.fotografia-dg.com/ensaio-fotografico-infantil/

    Path of the current image:
    jp0041

    Corrected image path:
    jp0041

    I have thousands of articles published, it is impossible to check each article and correct the post.

    I configured something wrong, can you help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter diogobguerreiro

    (@diogobguerreiro)

    Path of the current image:
    img class=”aligncenter size-medium wp-image-16533″ src=”https://www.fotografia-dg.com/imagens-wp/2014/02/jp0004-500×331.jpg” alt=”jp0004″ width=”500″ height=”331″

    Corrected image path:
    img class=”aligncenter wp-image-16533 size-full” src=”https://objects-us-west-1.dream.io/cdndg/imagens-wp/2014/02/jp0004.jpg” alt=”jp0004″ width=”640″ height=”424″

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The current image being ‘wrong’ is actually your original image path, ad it means that the auto-migration was unable to detect the image safely so it skipped it. That’s by design. But since the plugin does not DELETE your images from your wp-content folder locally, the only reason it should have broken was if you did that manually.

    You’ll have to do a search/replace to correct the broken ones, but again, this is why the plugin doesn’t delete the images. Sometimes it can’t be sure, so I leave them in place for emergencies like that.

    Thread Starter diogobguerreiro

    (@diogobguerreiro)

    Okay, and how do I make that automatic migration run again? I have thousands of articles, as I said I can not see one one. I need to do this migration again.

    As the images are in my FTP and dreamhost all of them, only the link has not changed.

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    As the images are in my FTP and dreamhost all of them, only the link has not changed.

    Just to reiterate, if the images are on your server AND the link didn’t change, the nothing should be broken.

    That https://www.fotografia-dg.com/imagens-wp/2014/02/jp0004-500×331.jpg isn’t working means that the image was DELETED. And it was NOT this plugin that did it.

    The only way to manually migrate would be to do the following:

    1) Make a database backup.

    2) Copy everything from /imagens-wp/ to the cdndg/imagens-wp location in your cloud.

    3) Run a search/replace via the commandline – wp search-replace 'src="https://www.fotografia-dg.com/imagens-wp/' 'src="https://objects-us-west-1.dream.io/cdndg/imagens-wp/' --dry-run

    If that looked like it worked and make changes, run this:

    wp search-replace 'src="https://www.fotografia-dg.com/imagens-wp/' 'src="https://objects-us-west-1.dream.io/cdndg/imagens-wp/'

    HOWEVER. I need to stress this: If the tool couldn’t replace the images, you may not want to do this.

    https://www.fotografia-dg.com/imagens-wp/2014/02/jp0004-500×331.jpg is MISSING from your server. That means if it’s not on the CDN, then it was DELETED and it’s never going to work if you search/replace. I STRONGLY recommend you figure out where those images went or who deleted them and restore them LOCALLY.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Missing Image SRC’ is closed to new replies.