Last post Sep 19, 2008 06:17 PM by iver56
Sep 17, 2008 02:20 PM|Dabbi2000|LINK
image tags description
Sep 17, 2008 04:54 PMemail@example.com|LINK
You will not be able to add tags directly to the file. However you can try another approach of attaching an XML file (i know you said no database), but you will need something that keeps track of this information. I have many times done this.
imagefilename: image1.jpg and named my xmlfile image1.jpg.xml which is a valid name. Now when i load image1.jpg i know that there is a corresponding xml file which is simply adding on the .xml file extension.
Sep 17, 2008 04:59 PM|Dabbi2000|LINK
Sep 17, 2008 05:02 PMfirstname.lastname@example.org|LINK
You could always name your file what the description is. But then you might have long file names. Like below
This_Is_Our_First_Camping_Trip_With_The_Boys.jpg. Then your code behind could do the below function. Which removes the underscores and the file extension.
string title = imageFileName.Replace("_","");;
If you like i could write a quick xml function for you that will pull a title and description out of an xml file
Sep 19, 2008 06:17 PM|iver56|LINK
Maybe you'll find some relevant information here: