I am trying to load images with this asset and store into the database but when I try to display the image I get this:
Yes you can not access this image due to server restriction put by the seeklogo.
Access to the resource is prohibited.
even not able to fetch using postman. need to check other solution.
can you share more detail like oml or test link it will be more help for us to find out the issue and suggest you the solution.
Unfortunately I cant share the oml but it is simple. Create an entity with a url text ,a binary data attribute and fill with this "https://upload.wikimedia.org/wikipedia/commons/4/44/Debenhams_logo18.png", then try to convert the url to a binary and fill the other attribute. If you display the image with the binary attribute content in a iage widget from outsystems it will not display the image.
Are you setting type to binary data ?
Hi Filipe,
Which action are you using to convert the URL to a binary? Are there any errors in the console that could help identify the issue?
Yes, can you share that oml to look what I have wrong?
Please check oml file and check it here .
https://personal-u1aragiz.outsystemscloud.com/TestABC/Demo?_ts=638763634143997287
I dont see your component in the module
you do not need any plugin to show image from binary data. if binary data is in you database. I am installing the plugin and share new oml soon.
Yes but where is this component converting the url?
I testing Get Binary Data By URL - Server Side (O11) and yes some error in this
I used https://www.outsystems.com/forge/component-overview/2763/binarydownload-o11
it is working fine.
I will check Get Binary Data By URL - Server Side (O11) in detail later and let you know exact problem. meanwhile may be extension team might give you the answer.
Please check Demo5 screen. I dont know why it was not worked previosuly may be I did some silly mistake.
https://personal-u1aragiz.outsystemscloud.com/TestABC/Demo5
Once more I am not seeing this component working in your oml module TestABC or TestABC2
It seems that when the action is ran it popups up a message saying 403 forbidden
can you share screenshot because it is working on my environment.
https://personal-u1aragiz.outsystemscloud.com/TestABC/Demo5?_ts=638763830658783154
I tested it in new fresh application as well and it is working
https://personal-u1aragiz.outsystemscloud.com/TestBI/Demo?_ts=638763830287030372
@Filipe Lourenço Please try RichMail server action.
Hi you got the solution or need help please share details so I can help you.
Test with this url https://images.seeklogo.com/logo-png/51/1/jd-group-logo-png_seeklogo-513949.png
Ok. That's the issue. Thanks
You can test this
https://personal-u1aragiz.outsystemscloud.com/TestDownloadImage/Demo6?_ts=638766201028973977
it is working with both the urls.
I updated extension BinaryDownload and it is working you can use it
I created a new extension you can also try this.
https://www.outsystems.com/forge/component-overview/21058/downloadfromurl-o11