theCrag / website

theCrag.com: Add your voice and help guide the development of the world's largest collaborative rock climbing & bouldering platform
https://www.thecrag.com/
112 stars 8 forks source link

Link photo to multiple nodes #294

Open MelwinQ opened 13 years ago

MelwinQ commented 13 years ago

Having a photo showing multiple summits (or routes, crags, etc) it would be useful to link it to several nodes. Currently, any existing link seems to be deleted if I link an existing photo to another item.

scd commented 13 years ago

Believe it or not, I had not really thought of doing this. At the moment there is a one-to-one relationship between photos and nodes, so associating it with another node will remove the old association.

We have a lot to do with photos in the medium term, in particular we want to link to peoples google and flickr accounts. I will look further into this issue when we tackle social integration.

brendanheywood commented 13 years ago

As an interim workaround the best bet is to link it to the cliff instead of the route.

cgome commented 13 years ago

Relates (obliquely) to issue #291. ie Load photo to closest common ancestor then create area topo

lordyavin commented 5 years ago

Want to bring this up a little bit. My current use case is this photo. It shows the sector Alte Hausenerwand, Westface and the Eigerturm. As it is showing both faces, I linked it with the parent node but now I'm not able to use it as webcover for the children and the image is of course not listed as image of the children. If I link to one of the both it is missing in the other one.

brendanheywood commented 5 years ago

I think that is more a bug in the webcover selection process which should allow a more flexible selection. I think your photo does make the most sense in the parent. There is no hard linkage between a webcover and the node a photo is at, so as a PITA workaround you could temporarily move the photo, set the webcover, then move it back.

lordyavin commented 5 years ago

That described workaround does not work. After assigning the webcover the UI hides the buttons to link the photo.

brendanheywood commented 5 years ago

hhmm can you please be exact with the steps / urls + screen shots?

lordyavin commented 5 years ago

Review Photo UI for the photo not set as webcover:

grafik

Review Photo UI for the photo after setting as webcover: grafik

As you can see the Buttons Link Photo, Unlink Photo, Remove Photo and Disable Photo are hidden.

brendanheywood commented 5 years ago

@scd whats going on with that? Is a webcover a type of link, but not a link?

scd commented 5 years ago

I am guessing I was too smart by half. Those buttons are probably disabled so that somebody does not do something crazy once a photo becomes a webcover. the Link and Unlink is overkill.

killakalle commented 3 years ago

Here's another use case where linking photos/topos to multiple nodes would be useful:

https://www.thecrag.com/en/climbing/germany/schwaebische-alb/donautal

image

In that area most of the crags are individual rocks that are not considered part of an area or larger crag. However, some are close to each other and can be shown together in an 'area topo'.

The downside:

As a PITA workaround for that situation (on another node) I have uploaded the same picture on each sub-area and created duplicate topos on each node where I upload the picture.

See an example (sectors from different parents shown on same topo):