Forums

How to display an image saved on the server?

nemesyssoft 15 Apr, 2015
Hello.

How can I display a picture on each row? The path is a constant and the filename is saved in the database. I'm not sure how to proceed with this, much less if it is at all possible.

ANYBODY HAS ANY IDEA?

Thanks!
GreyHead 15 Apr, 2015
Answer
Hi nemesysoft,

I think that the way to do this is to use the HTML box. The help text isn't very helpful but I think that the entry would be something like this
Model.image_link:<img src='/path/to/image/{Model.image}' />
where the Model, column name and path need to be changed to your listing values.

I think that you then need to add Model.image_link:Image Title to the Columns list

Bob
nemesyssoft 15 Apr, 2015

Hi nemesysoft,

I think that the way to do this is to use the HTML box. The help text isn't very helpful but I think that the entry would be something like this

Model.image_link:<img src='/path/to/image/{Model.image}' />
where the Model, column name and path need to be changed to your listing values.

I think that you then need to add Model.image_link:Image Title to the Columns list

Bob



Bob!

You've got it! You nailed it. The pictures are now showing beautifully!

Thank you!
This topic is locked and no more replies can be posted.