Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Sirmadsen Posted January 12, 2022 Posted January 12, 2022 As title says, I'm trying to have everything from downloads in it's own storage system, in this case a sub-domain. It seems to work fine with files but images break. Everything uploads fine and I can even download the image from cPanel but it won't show properly on create new download or on the file it self. I have tried with all kinds of permission settings but nothing works. Any ideas?
Jim M Posted January 12, 2022 Posted January 12, 2022 Is the custom URL set appropriately to the custom storage location? If so, could you please update the credentials in the Client Area so we can take a look?
Sirmadsen Posted January 12, 2022 Author Posted January 12, 2022 3 minutes ago, Jim M said: Is the custom URL set appropriately to the custom storage location? If so, could you please update the credentials in the Client Area so we can take a look? Well, like I said. When downloading a file it works and everything is uploaded fine to the location set, it's just that images are not shown. It's not a problem per say, I can just move screenshots storage back to it's original location.
Solution Jim M Posted January 12, 2022 Solution Posted January 12, 2022 2 minutes ago, Sirmadsen said: Well, like I said. When downloading a file it works and everything is uploaded fine to the location set, it's just that images are not shown. It's not a problem per say, I can just move screenshots storage back to it's original location. Download (via the Downloads app) and upload would utilize the path on your server, whereas, viewing an image utilizes the custom URL so if the custom URL is not set appropriately, it could be breaking. SeNioR- 1
Sirmadsen Posted January 12, 2022 Author Posted January 12, 2022 (edited) 5 minutes ago, Jim M said: Download (via the Downloads app) and upload would utilize the path on your server, whereas, viewing an image utilizes the custom URL so if the custom URL is not set appropriately, it could be breaking. Ah, ok. So I have to enable the "Use a Custom URL?" for images to be properly shown when using a storage path other than the standard one? Edit: Yes, that seem to have solved it... Edited January 12, 2022 by Sirmadsen solved
Jim M Posted January 12, 2022 Posted January 12, 2022 Yes, the software is not aware of the sub-domain you've setup so likely was trying to access via the same generic base URL your community is setup which will break. When using a custom sub-domain, CDN, etc... a custom URL is required. Daniel F and Sirmadsen 2
Recommended Posts