How do I get the image URL? 

How do I get the image URL? 

  
Hi,

I a building an app that requires getting the URL of the "company logo" image, how do I generate the scrambled portion of the URL? Please see attached, thanks:
Hi Fadi,

I've never seen the platform generate such an URL. How did you find that? Typically, images are in the img/ directory of the eSpace that includes them.

How did you obtain this image? Is it a database image? Do you use multi-tenancy?
Hi Fady,

The only way that crosses my mind is to create an anonymous page with only an image widget pointing to the database, then creating a different page that does an http get of that page, scraps the html and redirects to it on preparation.

Cheers,
Tiago Simões
Hi Tiago,

Could you explain in which cases the platform generates an URL like that?
Hi Kilian,

When the image widget type property is database.

Cheers,
Tiago Simões
Ok, thanks.

@Fadi: I'd be interested to know the use case for needing the URL.
Thanks. @Kilian, My use case is to generete html that my users can embedd in other places, and for the design I need the image URL. What do you guys think is the best way to do that? 

@Tiago, have you done this before, is there a pre-built scraping method?

Thanks

Not really sure, but I would probably use httprequesthandler geturl and then use a regexp to parse the results.

Cheers,
Tiago Simões
Tiago: is the URL stable? It seems Fadi needs a stable URL.
Yes, I believe it is.

Cheers,
Tiago Simões
If you create your own image download page, what you are asking for is pretty easy to accomplish. Otherwise the urls are not "stable".

Peek at the attachment - it should explain it. Let me know it you need more assistance.

Thanks,

---Erik