Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Get image file

Vote:
 

Hi all,

I have a link to an image (EPiServer.Url) stored into the global file. How do I get resolution for this image.

 

Thanks for any help.

#74588
Sep 02, 2013 13:57
Vote:
 

single supplement,

I use IIs (not IIS Express) and have link: OriginalString = "/Project/Global/Start%20page/slider_1.jpg"

 

#74597
Edited, Sep 02, 2013 17:23
Vote:
 

Hi

Take a look at the ImageHelper.cs of MobilePack for an example on how to read the width: http://mobilepack.codeplex.com/SourceControl/latest#Head/EPiServer.Labs.MobilePack.Core/Helpers/ImageHelper.cs.

Frederik

#74605
Sep 02, 2013 18:51
Vote:
 

It looks like I found the problem:

http://epiwiki.se/troubleshooting/episerver-filesystem/known-bug-in-versioned-vpp-together-with-windows-integrated-authentication

but I can not give up windows integrated authentication. 

Anyone else has solved this problem?

 

#74608
Sep 02, 2013 19:43
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.