How to insert an image?

18 Apr '18, 10:58 PM
1,384 Views
No Forum Badges

Hi there.

I´m working in a project and I want to insert an image in my project but I don´t know how to do it.

 
x 0
Follow
Answer Answer at this question and get points!
Forum Hero - Level 9

Hi Beto,

first of all I noticed that this kind of request is already available in this forum. You should search a similar case before open a new topic. In fact a solution valid for you could be already explained here.

Moreover to obtain help you have to better explain your case.

Anyway if you are working with WebRatio 7 you can refer to the logic reported as answer here: https://www.webratio.com/forum/question-details/display-image-in-an-hierarchy-component.
In particular:

Check if in the Properties View of the attribute, that refer to the image, is set the "Content Type": in the Domain Model, select the attribute present in the Entity -> move to the Properties View -> choose the "image" value in the "Content Type" property.

In this case the image is stored in an Entity as blob Attribute. In the Acme project (https://www.webratio.com/store/item-details/acme) you sould find all you need.

I hope this will help you.

 

 
x 0
No Forum Badges

puedes usar un componente script, dentro de el agregar

return <img src="mi_archivo.png">

esta imagen será guardada en el estilo que se agregó al proyecto por lo tanto la ruta de la imagen debe se iniciar desde el nombre del estilo seguido de la ruta de carpetas que contiene la imagen

 
x 0
Answer at this question and get points!