Broken ACP Images (Nginx)
Installation and Configuration
Yeah, this will come back not found if accessed from the file system:
/home/nginx/domains/10.0.0.151/public/image/img/module/jrCore/option_pass.png
because the image is not there.
<img src="site.com/image/img/module/jrCore/option_pass.png">
should work ok though because that will get run through the router system ( router.php ) and picked up by the image module that then goes and locates the correct location for the current version of the module and displays that.
The correct location for the module would be initially:
/modules/jrCore/img/option_pass.png
But then someone might have uploaded a file at
ACP -> CORE -> SYSTEM CORE -> IMAGES -> option_pass.php
and that file will be stored at a location similar to this url:
/data/media/0/0/jrCore_option_pass.php
But it shouldn't be necessary to know that, just use the
site.com/image/img/module/jrCore/option_pass.png
url to go through the function to retrieve the image.
eg:
https://www.jamroom.net/skins/jrForest/img/logo.png
will ONLY get the version of the logo that is stored at:
/skins/jrForest/img/logo
on the filesystem.
but that same image can be retrieved at:
https://www.jamroom.net/image/img/skin/jrForest/logo.png
but that url will give the logo even if its been changed in the ACP.