.nomedia .noimage are ignored by the "Photos" App

Hi, i already googled and used the internal search and just found conflicting information about my problem.

I want to exclude the files of some folders showing inside the gallery app of nextcloud. I read several times that adding .nomedia and/or .noimage files to the corresponding folders does the deal. I also read several times that this feature does not work and the .nomedia and .noimage files are ignored and I even read that this issue was already fixed in 2020. Maybe I did not configure something the right way or it is really not working.

Is there any workng way to exclude some folders from showing in photos, is there an alternative to the photos app or anything that could help me further???