Update thumbnail image everywhere?

Is there a way to update an image on Gramps Web without having to delete the record on Gramps Desktop, sync with Gramps Web…rename the media file, add it again in Gramps Desktop, then sync with Gramps Web again?

I’ve found a few posts about thumbnail updating issues and have to say, it is surprising that this can be as painful as it is.

What is the recommended procedure for updating a media image for the two cases?

1.) When desiring to update an image via Gramps Web …and
2.) When updating the image using Gramps Desktop

The goal is to make all images and previews everywhere be the same for an image that needs to be updated.

Sorry but I don’t know what you mean. If you update an image on Gramps Web, you will not see thumbnails of the old image. Unless something is wrongly configured or there is a bug I am not aware of.

Here is the scenario that happened.

In Gramps Desktop (GD), I created a media record, selected an image off my local drive (Call it image A ) and attached it to a person so that it is their preview image in the Family Tree. I then sync’d with Gramps Web (GW) and that same media record and image was visible in GW, everything is good.

Then a family member sent me another image (Image B) through email and asked me to swap out image A and use Image B instead…keep in mind that this other family member is looking at GW.

So I saved Image B, overwriting Image A on my local file system, but kept the filename the same. The image and preview updated fine in GD. (as a reference, I would expect this)

Then I sync’d with Gramps Web again, but the image in GW is still Image A and not the updated Image B. I emptied the cache and reloaded the page just to be sure.

I had to delete the media record in GD, sync to get GW to delete it, then renamed the image and added it to GD again and finally sync’d with GW to get the new image to show in GW.

NOW…if I use the ‘replace file’ feature in GW, then yes, the image updates, OK< but on the next sync cycle, I end up with two versions of the image on my local machine, the original one and the one copied from GW with the checksum as its name.

Hope this description make sense.

I’m guessing that when the original image A was uploaded to GW, that there was a checksum renaming involved, and a new image B, with a new Checksum would not be easily matched to the previous one for replacement?..but the ‘title’ would be the same…

I see.

Never replace media files outside of Gramps (desktop) without telling Gramps about it. Otherwise the checksum is wrong and sync will not work as expected. You can run the check & repair tool (in desktop!) to fix your checksums.

The correct approach would be to change the media file inside Gramps, or by using the “replace file” button in Gramps Web.