Hello everyone.
I have an app with several modules. One of them i want to use it specific to keep all of the images to use throughout the modules because of their size.
So my question is, how can i use the image that i have in the resources part of that image module in a different module, setting it as a background image?
Thank you to anyone who can help me on this.
Hello
Just take the dependencies from the module from where your images are.
and set these two properties
Note: Post Updated
Then If you want to use it to set background then just apply the CSS
use the background and properly
background:url();
in the class where you want to apply background
And copy the Image url path from the resources from the property
into the brackets.
hope this helps
Thanks
Updated OAP for Demo
You can download here due to large size I have uploaded it to G drive
https://drive.google.com/file/d/1jq6m6xT_UgkIPH4DrJy8pV0liU34RbBo/view?usp=sharing
Thank you very much for the help. It just seems like i don't have this "public" option as you do. This is a Service module, i don't know if this could be the reason
Yes it will not show in Service module there are various reason for that.
check here
Hi Ana Pintor,
Can I know why you want to use a separate module for images? If you have more images you can create a separate entity in the service module which behaves as the core layer with the image attribute and set the property, Public = Yes, and Expose read only = Yes.
Best Regards,
Shubham
Well it would be for a matter of organizing the information and to remove all the heavy content from the core module, leaving it all in one module that would work as an images "library/repository" let's put it this way
ok. that's great.. but check for the new module you will get the additional stuffs with manage dependencies related to UI and others.
Thank you,