View Image

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
vsoni
User
Posts: 3

View Image

Post by vsoni »

Hi,

Please i need help, we are trying to display image from image path in field value.

ex- h-t-tp://xxx/Images/1.jpg

The image path we are calculating by expression in a custom field. the expression is - 'h-t-tp://xxx/Images/' + ltrim(str( id)) + '.jpg'

this doesn't work but if we enable hyperlink the image shows as a link in the view in browser. but the image doesn't at all display in the same view in the column area.

what are we missing here. please guide.

Thanks,


motfs
User
Posts: 258

Post by motfs »

the image doesn't at all display in the same view in the column area.

If you want to use Custom Field, make sure the expression is valid for your database. Try it in your database manager first. Also, there is no need to enter the full path, simply use "Images" instead of "'h-t-tp://xxx/Images". And setup View Tag as Image.


vsoni
User
Posts: 3

Post by vsoni »

Hi,

Thank you for your answer.

Yes we have checked the expression also.

We successfully get the images by placing them in the folder directory of the application. But the Images are in HTTP Directory (only http accessible). then in that case how can we fetch the images. Since the HTTP path doesnt seem to work.

Thanks,


Post Reply