You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Check the resources is available in VB application

Accepted answer
22
Views
4
Comments
edited Sep 2, 2021 5:20AM in Visual Builder 4 comments

Content

Hi Team,

Is there any in-built way to check the resource available in VB app or not. My requirement is display the image saved in resource folder based on the result returned from the API. So to achieve that i will be appending the application path with the variable returned from the response to dispalying the image. It's rendering the image if found in the resources folder and throwing 404 error when the image is not found. In this case i need to remove the image tag and to display a span tag with their name in UI.

So, I'm not able to check the image is found or not on load . Need you suggestion in this? Please find the src tag that i'm using in page.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!