Replacing media doesn’t replace my portfolio thumbnails

Hi @sixaxis,

When I replace media using Enable Media Replace with an image having the same file name, all the images (main images plus thumbnails) are replaced except for the thumbnails in my Portfolio (Ocean Portfolio).

I should point out that these portfolio thumbnails are not automatically created by WordPress when I upload images, but only when I insert featured images in portfolio items.

I’d also like to point out that if I delete media and then check in my host’s file manager (cPanel), I see that the thumbnail generated by my portfolio remains.

For the moment, I’ve found a workaround, but it’s cumbersome and not the normal procedure: if I delete (or rename) in the file manager (cPanel) the portfolio thumbnail that hasn’t been modified following an image replacement by Enable Media Replace, the correct thumbnail is recreated when I refresh the page and my portfolio thumbnail is then OK.

I don’t know whether this problem of not replacing the thumbnail is on your side or on the side of my WordPress theme (OceanWP) of which Ocean Portfolio is a part.

For me, it’s just a hunch, the non-replacement of the thumbnails in my portfolio is a problem that’s attributable to you because I think that Enable Media Replace should replace all the copies (thumbnails) of an image, which isn’t the case since in this particular example Enable Media Replace forgets one.

On the other hand, the fact that when I delete a media all the images except the portfolio thumbnails are deleted is, in my opinion, down to my WordPress theme or Ocean Portfolio.

For a better understanding, I’ve made a video that you can watch here:

Thanks in advance for your help.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer