Skip Navigation

photo tag question?

Travel Forums Wiki Travel Guide photo tag question?

1. Posted by joffre (Respected Member 157 posts) 7y

Hiyas, can anyone tell me when you insert a photo into a page in the TP travel guide eg. "photo|363207" is it possible to specify an actual 'location' rather than a 'photo id number' or 'photo tag'? If so, how do you do that?

[ Edit: Edited on 29-Jan-2009, at 02:36 by joffre ]

2. Posted by Utrecht (Moderator 5596 posts) 7y

the tags and location are on the (your?) photography page itself.
If correct, the titel and location will be added underneath the photo though.
O, by the way, its [photo|xxxxx]

[ Edit: Added nowiki to show code. ]

3. Posted by joffre (Respected Member 157 posts) 7y

Sorry Utrecht, I didn't understand your answer... what I meant was when you insert a photo into a section of the travel guide you can use the following;

"photo|363207" where "363207" is the photo id or
"photo|sunset" where "sunset" is a photo tag

My question was can you use a photo location eg.
"photo|location" where location could be "Byron Bay"

instead of either a photo id or photo tag? And if so, how do you do that?
Cheers.

4. Posted by Utrecht (Moderator 5596 posts) 7y

Aha, sorry, my mistake.

Yes, you can. Well, at least I tried it with countries, and that works. So works as well.
I guess if the photo is tagged (map or manualy) in the right location (for example New Delhi), that would work as well, so [photo|New Delhi].

What I don't know though, is if that means all photos are shown or just the featured ones. I prefer the featured ones, otherwise there is a risk that some crappy personal photo is shown in what is meant to be a serious travelguide.

[ Edit: Change to make code show. ]

5. Posted by Sander (Moderator 4834 posts) 7y

What Utrecht wrote above, corrected for the missing bits, was:

Quoting Utrecht

Aha, sorry, my mistake.

Yes, you can. Well, at least I tried it with countries, and that works. So [photo|India] works as well.
I guess if the photo is tagged (map or manualy) in the right location (for example New Delhi), that would work as well, so [photo|New Delhi].

What I don't know though, is if that means all photos are shown or just the featured ones. I prefer the featured ones, otherwise there is a risk that some crappy personal photo is shown in what is meant to be a serious travelguide.


The board tried to interpret those [photo] bits as simplecode, but then realized it shouldn't show images on here, and so it showed as empty space. Same thing happened in the first reply.

I don't know the wiki code myself, so I have no idea if that actually works yet.

However, I suspect it won't. Countries vs tags are special because we had a time when we treated country names as tags themselves - but city names are probably far too many to effectively filter on. This is probably going to require some new syntax - something like [photo|location:New Delhi] or somesuch.

[ Edit: Edited on 29-Jan-2009, at 11:35 by Sander ]

6. Posted by Sam I Am (Admin 5588 posts) 7y

Hehe, think we just crossed posts Sander. I just added nowiki around the bits of code in Utrecht's replies, so they are a bit clearer.

Adding in a city name does work in that code, for example in the Oslo guide I have done that. However that brings up photos tagged as Oslo and not photos mapped to Oslo. Utrecht, to answer your question, it's only featured ones when you type a word like that. I vaguely remember some brain storming on automatically tagging each photo with the city name that it's mapped to, but that was just kind of random talk... It would probably bog down the tagged area if anything else.

A much smoother way of doing this might be to just use the geolocations (which we already have) and create a wildcard like 'location' for the second part of that little tag. So basically if it encounters [photo|location], it goes off and finds photos which were mapped near there and adds one of those. You wouldn't have to type the locationname or anything, it would just do it all automatically. Would be kind of neat, no? Not really sure how extensive this is computing wise, but we do something similar in the accommodation area, so it can't be too difficult!

[ Edit: Removed bolding code inside nowiki tag :) ]

7. Posted by Utrecht (Moderator 5596 posts) 7y

Oops, I didn't even check my answers myself, otherwise I would have noticed the blank areas.
Cheers guys!