Page 1 of 1

View Image

Posted: Thu Nov 03, 2016 6:31 pm
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,


Re: View Image

Posted: Fri Nov 04, 2016 10:24 am
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.


Re: View Image

Posted: Sun Nov 06, 2016 8:05 pm
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,