Android Question SimpleMediaManager (SMM)

Almora

Well-Known Member
Licensed User
Longtime User
Hello.
SMM does not open images with the .avif extension. Is there a way to handle this?

I'm using this for now

Code: Copy
Sub imageurl(url As String) As String
    If url = "" Then Return ""
    
    Dim lower As String = url.ToLowerCase
    If lower.Contains(".avif") Then
        Dim su As StringUtils
        Return "https://wsrv.nl/?url=" & su.EncodeUrl(url, "UTF8") & "&output=jpg&w=800&q=80"
    End If
    
    Return url
End Sub
 
Last edited:
Back
Top