Alias for image path

Is there any way to have an alias for a path. Now all the files in the filemanager point to https://blip.blob.core.windows.net/cdnFolder/globe.png?1536322226494 , but I rather have them point to: https://blip.azureedge.net/globe.png?1536322226494 (an endpoint with an origin path I added to my blobstorage)


1 Reply

SK Shanmugaraja K Syncfusion Team September 10, 2018 07:33 AM UTC

Hi Wouter, 
 
Thank you for using Syncfusion products, 
 
We have checked your query and we suggest you to use the getImage functionality of ajaxSettings property to change the path of image files in FileExplorer. Please refer the below code block. 
 
[JS
 
   
 $("#fileExplorer").ejFileExplorer({ 
       isResponsive: true, 
       width: "100%", 
       minWidth: "150px", 
       fileTypes: "*.png, *.gif, *.jpg, *.jpeg, *.docx", 
       layout: "tile", 
       path: "https://js.syncfusion.com/demos/ejServices/Content/FileBrowser/", 
       ajaxAction: localServ, 
       ajaxDataType: ajaxDataType, 
       ajaxSettings: { 
            getImage: { 
                url: "https://js.syncfusion.com/demos/ejServices/Content/FileBrowser/Nature/bird.jpg" 
           } 
       } 
   }); 
 
 
Note: If you don’t want the static path (other than above code), need to write own customization method for server-side and specify the URL to getImage of ajaxSettings property.  
 
 
 
To know more details about this requirement, please refer the below forum. 
 
 
Regards, 
Shanmugaraja K 


Loader.
Up arrow icon