webtrees icon indicating copy to clipboard operation
webtrees copied to clipboard

"Manage media" shows wrong message "There are no links to this media object"

Open hartenthaler opened this issue 2 years ago • 6 comments

There is a media file shown in the list presented in control panel "Manage media". It is the third in this list with the file name "places/images/Alt-Ennetach.jpg". The message "There are no links to this media object" is wrong, because the file is used in the media object with the XREF "M1674", which is used in a shared location record (_LOC) with the XREF "L43477". Screenshot (122)

Screenshot (119)

hartenthaler avatar Dec 13 '22 23:12 hartenthaler

This issue still exists. In the lists/media objects you see the usage within a _LOC, but the control panel states a "there are no links to this media object"

arbor95 avatar Feb 22 '24 22:02 arbor95

v2.1.19 : I don't know if this is the same issue but it seems like data isn't linked somewhere.

Manage Media says this image is "Unused"

240326165627

But it is definitely linked with an Individual as seen in three other places: Individual profile, Media for Individual, and under the image in Media List there is a link to the Individual.

240326170552

240326170747

240326170917

( Kinda stupid to blur out my name and face in these screenshots when my name and face are all over GitHub and this page. Whatever ... 🤣 )

TonyGravagno avatar Mar 27 '24 00:03 TonyGravagno

Unlikely. More likely you have two copies of that image in your /data/media folder.

Perhaps one in /data/media/people and one in /data/media/media/people

kiwi3685 avatar Mar 27 '24 00:03 kiwi3685

In the tree preferences, change the media folder to something other than media/. Save. Then change back.

Does this help?

fisharebest avatar Mar 27 '24 22:03 fisharebest

Just coming back to this application ... As seen in the screenshot, the folder is already media/people, but as time permits I will move everything to a different folder and then back and see what happens. Thanks.

TonyGravagno avatar Apr 09 '24 22:04 TonyGravagno

You don't need to move things to a different folder.

Just change the config setting, save, change it back, save.

fisharebest avatar Apr 09 '24 22:04 fisharebest