Images Duplicated After Editing Post

After publishing an article to our child sites, we found it necessary to change the Facebook image we initially used via the Yoast SEO plugin. The new image was one already in the MainWP Image Library. After making the change, we found multiple copies of the image in the MainWP website’s Image Library. Is this normal? We are using MainWP version 4.2.6.

Hey @richfarr

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server, on the top right of the page.

Be sure to use the button like the one below; this button hides all your private information:


Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.

### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  40M                                          Warning     
WordPress Version                  >=3.6                                                  6.0.1                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        OpenSSL/1.1.1q-fips                          Pass        
cURL Timeout                       >=300 seconds                                          40                                           Warning     
cURL Version                       >=7.18.1                                               7.66.0                                       Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    No functions disabled.                                   
PHP Exif Support                   N/A                                                    YES ( V7.4.)                                             
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, bcmath, bz2, calendar, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, session, shmop, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           120                                          Pass        
PHP Max Input Time                 >=30 seconds                                           120                                          Pass        
PHP Memory Limit                   >=128M                                                 768M                                         Pass        
PHP Post Max Size                  >=2M                                                   256M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   256M                                         Pass        
PHP Version                        >=7.0                                                  7.4.30                                       Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        

### MySQL                          Required                                               Detected                                     Status   ###

MySQL Client Encoding              N/A                                                    utf8                                                     
MySQL Mode                         N/A                                                    NO_ENGINE_SUBSTITUTION                                   
MySQL Version                      >=5.0                                                  5.7.38-41-log                                Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       63.89 MB                                               
Operating System                   Linux                                                  
Request Time                       1659455616                                             
Server Protocol                    HTTP/1.0                                               
Server self connect                Response Test O.K.                                     
Server Software                    Apache                                                 
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance                                                        
Basic uptime monitoring enabled    Yes                                                    
Cache control enabled              No                                                     
MainWP Dashboard Version           Latest: | Detected: 4.2.6 Warning              
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return                                                         
Maximum number of posts to return  50                                                     
Maximum simultaneous install and update requests                                                       
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests                                                        
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of child sites              4                                                      
Optimize for shared hosting or big networksNo                                                     
Plugin advanced automatic updates enabledNo                                                     
Primary backup system              MainWP Legacy Backups                                  
REST API enabled                   No                                                     
Site health monitoring enabled     Yes                                                    
Theme advanced automatic updates enabledNo                                                     
Use WP Cron                        No                                                     
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

MainWP Custom Dashboard Extension  4.0.2                                                  Actived                                      Pass        
MainWP Post Dripper Extension      4.0.3                                                  Actived                                      Pass        
MainWP WordPress SEO Extension     4.0.1                                                  Actived                                      Pass        

### Plugin                         Version                                                Status                                    ###

Accessibility by UserWay           2.4.9                                                  Inactive                                     
AddToAny Share Buttons             1.8.4                                                  Inactive                                     
Advanced Editor Tools (previously TinyMCE Advanced)5.6.0                                                  Active                                       
Akismet Anti-Spam                  4.2.5                                                  Inactive                                     
Beaver Builder Plugin (Pro Version)                                                Inactive                                     
Beaver Themer                                                            Inactive                                     
Branda Pro                         3.4.8                                                  Inactive                                     
Classic Editor                     1.6.2                                                  Active                                       
Custom Sidebars                    3.35                                                   Inactive                                     
Defender Pro                       3.1.2                                                  Active                                       
Enable Media Replace               3.6.3                                                  Inactive                                     
Google Analytics for WordPress by MonsterInsights8.7.0                                                  Inactive                                     
Inactive Logout                    2.0.2                                                  Inactive                                     
MainWP Dashboard                   4.2.6                                                  Active                                       
Ninja Beaver Lite Addons for Beaver Builder2.4.5                                                  Inactive                                     
Ninja Forms                        3.6.12                                                 Inactive                                     
PowerPack for Beaver Builder       2.17.1                                                 Inactive                                     
reCaptcha by BestWebSoft           1.67                                                   Active                                       
Redirection                        5.2.3                                                  Inactive                                     
SiteGround Optimizer               7.2.0                                                  Active                                       
Smush Pro                          3.10.3                                                 Active                                       
WordPress Backup & Security Plugin - BlogVault4.78                                                   Active                                       
WP Maintenance Mode & Coming Soon  2.4.6                                                  Inactive                                     
WP Sticky Sidebar                  1.3.8                                                  Inactive                                     
WPMU DEV Dashboard                 4.11.14                                                Active                                       
Yoast Duplicate Post               4.5                                                    Active                                       
Yoast SEO                          19.3                                                   Active                                       

Thanks for the system report.

Can you please update your MainWP Dashboard and MainWP Extensions, including WordPress SEO to the latest version and see if that help?

We’ve had some changes with regards to the og:image tag in the WordPress SEO extension.

Also, can you please elaborate a bit more on why did you find it necessary to change the Facebook image? Was it not being properly set via the MainWP Dashboard?

Hi Bojan, we will do the update and see if that helps. Thank you.

The image change was because I realized we used the wrong size image for Facebook. We upload two images for each article we post. One is square (1200x1200) and one is horizontal (1000x563). I mistakenly used the square image for Facebook on the last couple of posts. Hence the edit to the posts. The horizontal image is used within the post and is set as the “Feature image” in addition to being a part of the Yoast SEO Facebook image.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.