Hello @pierre1960,
Thank you for reaching out to us!
Please rest assured we will get to the bottom of this asap.
Can you please go to your dashboard > Settings > General > and make sure that your site address is set up correctly to reflect the new address?
Let me know how it goes.
Thank you,
Mihaela
I also removed all the cookies for this site.
I think I found the reason: you’re using the GUID to build the link to the thumbnail. Which is probably not a good practice as the GUID is meant to identify posts, not link to them…
Hello @pierre1960,
Thank you so much for taking the time to explain this!
Please allow us a day or 2 to investigate this.
I will reach back here with an answer asap.
Thank you for your understanding,
Mihaela
Hello @pierre1960,
We have found a fix for your problem.
Please follow my instructions below.
Go to this file: modula.php on line 1255 you will find this code:
$wpdata = get_post( $img->imageId );
and replace that line with this code:
$uploads = wp_get_upload_dir();
$file = get_post_meta( $img->imageId, '_wp_attached_file', true );
Then go to line 1256 you will see this code:
$baseurl = str_replace( basename( $wpdata->guid ), "", $wpdata->guid );
Replace it with this one:
$baseurl = $uploads['baseurl'] . '/' . str_replace( basename( $file ), "", $file );
Save the file.
For the images’ links to change in your db you will need to delete an image from your gallery and re-upload it. Or upload a new image and then delete it.
Let me know how it goes!
All the best,
Mihaela
-
This reply was modified 7 years, 6 months ago by
Miha.