Problem: Automatically adding "auto=format" to every single asset URL by default causes PDFs to open as images instead of opening as pdfs, breaking old links and making pdf urls unusable.
Solution: First check whether "isImage" is true/false before applying auto format to the asset.
Problem: Automatically adding "auto=format" to every single asset URL by default causes PDFs to open as images instead of opening as pdfs, breaking old links and making pdf urls unusable.
Solution: First check whether "isImage" is true/false before applying auto format to the asset.