Setting cross origin on images using jrImage_display
Using Jamroom
I'm using a js library which is asking for crossorigin="anonymous" to be set on images (logging each one as. a warning to console)
Is there any way to pass that in through jrCore_module_function function="jrImage_display"? When I add that as a parameter it doesn't make it through to the html.
Until recently I built the url so as not to use jrCore_module_function, but ran into jamroom image cache problems with these being written to the log, and failing to load the page.
[29-Mar-2018 14:05:14 Europe/Dublin] PHP Warning: fopen(/home/jamroom/sites/virti.co/public_html/data/cache/jrImage/24070/1/1/31/ujPhoto360/145/00002567224f3d6e973e76b483010a41.tmp): failed to open stream: No such file or directory in /home/jamroom/sites/virti.co/public_html/modules/jrImage-release-2.0.8/include.php on line 1561 [1]
[29-Mar-2018 14:05:14 Europe/Dublin] PHP Warning: rename(/home/jamroom/sites/virti.co/public_html/data/cache/jrImage/24070/1/1/31/ujPhoto360/145/00002567224f3d6e973e76b483010a41.tmp,/home/jamroom/sites/virti.co/public_html/data/cache/jrImage/24070/1/1/31/ujPhoto360/145/00002567224f3d6e973e76b483010a41): No such file or directory in /home/jamroom/sites/virti.co/public_html/modules/jrImage-release-2.0.8/include.php on line 1573 [1]
[29-Mar-2018 14:05:14 Europe/Dublin] PHP Warning: file_get_contents(/home/jamroom/sites/virti.co/public_html/data/cache/jrImage/24070/1/1/31/ujPhoto360/145/00002567224f3d6e973e76b483010a41): failed to open stream: No such file or directory in /home/jamroom/sites/virti.co/public_html/modules/jrImage-release-2.0.8/include.php on line 1531 [1]
updated by @ultrajam: 06/30/18 07:53:55AM