Showing posts with label query. Show all posts
Showing posts with label query. Show all posts

Saturday, March 24, 2012

Tag A Photo

I have a page that loads a photo based on a query string in the URL.

I am attempting to allow the uploader of the image to "tag" people in the photo. A tag will be a javascript positioned "frame" over the top of the image, the frame will only appear when the user hovers their mouse over a name of someone in that photo.

I have sorted tagging as in, the user can set people in a photo. Does anyone know any java script that will allow me to :

1) Limit the users tagging abilitys to only the photos area : "image1".

2) Will save the location (from top and left) of the frame.

I hope this makes sense. If you wish to see an example "facebook.com" already does this type of tagging. I am a bit of a newbie when it comes to javasctript so i dont really know where to start with this. If there is a way of doing this that is better than the way i am trying please let me know. thanks si!

Hi,

Take a look here

http://weblogs.asp.net/scottgu/archive/2006/07/19/Building-a-Photo-Tagging-Application-using-ASP.NET-2.0_2C00_-LINQ_2C00_-and-Atlas.aspx


thats perfect except i didnt want to use class diagrams if possible. I will give it a go and see if it works for my project. Thanks a million! si!


i feel i should explain slightly more. I want the user to be able to click "photos containing you" button and it`ll load a page which`ll filter out all images that do not have a tag of them. I was going to do this from a querystring which seems simple enough to do, but its the cloud control and storing the tags that is causing me issues. Si!

Tuesday, March 13, 2012

td bgcolor based on variable

Hello, I am fairly new at ASP.Net and I am using 2.0. I am populating a table from a SQL query. If the field is blank/null, I would like to color the background yellow in the. How do I test for the variable and make this happen? Thanks for your help. Jim

This should help

Custom Formatting Based Upon Data

http://www.asp.net/learn/dataaccess/tutorial11vb.aspx?tabid=63


Create a databound envent handler and make the corresponding format according to the data you get. Yeah, the above link a great one and should solve your problem. take a deep look at it. thanks