filebrowser icon indicating copy to clipboard operation
filebrowser copied to clipboard

Show pic's location

Open niubility000 opened this issue 2 years ago • 4 comments

fixed: #1564 When you browse the pic, it will show the location where the pic was taken if the pic has the gps info in the exif. 2021-11-22 120300

2021-11-22 120737

I use windows-docker-ubuntu to compile the filebrowser, after I run "npm install --save exif-js", it can't generate the file "package-lock.json". I only submit package.json. So it can't pass the Checks. Please help me to generate the "package-lock.json"


You can try the version I modified. I've made a lot of changes, and have fixed #1224, #1225, #1233, #1631: https://gitee.com/niubilitypdj/filebrowser/releases/ (It's very hard for me to upload large files to github, so I put them in gitee.)

niubility000 avatar Nov 22 '21 05:11 niubility000

Great job! I think we can make it extensible and have an info button that opens a popup with file-related metadata. So this information should be provided by the backend

o1egl avatar Nov 22 '21 11:11 o1egl

Great job! I think we can make it extensible and have an info button that opens a popup with file-related metadata. So this information should be provided by the backend

Yes! This api http://nominatim.openstreetmap.org/reverse?format=xml&lat=117.1111111&lon=37.1111111&zoom=18&addressdetails=0 works great! Maybe we can store the address info in server's cache, then we don't need to fetch it from openstreetmap every time. But I know nothing about goLang.

niubility000 avatar Nov 23 '21 02:11 niubility000

That's a great idea and I was already thinking about that when I was implementing #1234.

I think it would be nice to provide the location already in the FileInfo struct for the listing so the list of files can also be displayed on a map.

What are your thoughts?

adrium avatar Jan 11 '22 12:01 adrium

That's a great idea and I was already thinking about that when I was implementing #1234.

I think it would be nice to provide the location already in the FileInfo struct for the listing so the list of files can also be displayed on a map.

What are your thoughts?

Sure, it's great if we can check the img's gps info from backend and show the locations in a map. and then we can show the location for the HD images (read from the original pics without downloading) which is hard to do in the frontend .

niubility000 avatar Jan 12 '22 14:01 niubility000

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Sep 12 '22 02:09 github-actions[bot]

This PR was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Sep 18 '22 02:09 github-actions[bot]