diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt index 8da153963..60f6e9471 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -266,7 +266,7 @@ class PhotoFragment : ViewPagerFragment() { } var pathToLoad = if (medium.path.startsWith("content://")) medium.path else "file://${medium.path}" - pathToLoad = pathToLoad.replace("#", "%23") + pathToLoad = pathToLoad.replace("%", "%25").replace("#", "%23") val picasso = Picasso.get() .load(pathToLoad) .centerInside()