Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8834

To Get file extension of file which has uploaded in media library

$
0
0
I have uploaded some excel and pdf files in a folder in media library. Now I am using media gallery for displaying all files. Here I want to differ displaying file is excel or pdf. My question is,how to get file extension of file which has uploaded in media library using transformation? I have tried with @GetMediaFileUrl()@ but did not get correct path. Please suggest me how to resolve this issue?Thanks in advance...

Viewing all articles
Browse latest Browse all 8834

Trending Articles