the /ar sub folder is an application and it's a copy of the original one in the Content directory....ok?
in the (ar/App_code) there is a class with the name "MGImages.vp" and course it's a copy of the origenal one in the (Content/App_code) .
this class duty is to display photos from the Upload sub folder.
this is the code witch will save the damn path of the photo
view plaincopy to clipboardprint?
Dim appPath As String = HttpContext.Current.Request.ApplicationPath
Dim directory As String = appPath & "/upload/" & Left(TableName, 2) & "/"
If ImageType.ToUpper = "TN" Then
directory += "TN/"
ElseIf ImageType.ToUpper = "LG" Then
directory += "LG/"
directory += "OT/"
this class is working very well in the Content directory because this will give me the right path: