I am trying to improve performance of my site, following Google Developers advice and various plugins which allow use of a "cdn", to ensure images are delivered from a cookie-less domain and that static resources do not include a query string.
Unfortunately, gallery image resources use image.php which prevents doing both these things and reduces any potential performance improvements.
Would it be possible to change image.php from
to something like:
which would allow plugins to detect the image url and modify it to use a "cdn"?
You would need an .htaccess file in /image/ to direct to image.php, which would be trivial, but changing all the places where the urls are generated is a greater task (and not one for a custom hack).
Thanks
BJ
Unfortunately, gallery image resources use image.php which prevents doing both these things and reduces any potential performance improvements.
Would it be possible to change image.php from
/components/com_eventgallery/helpers/image.php?&mode=crop&width=63&folder=EventFolder&file=image.jpg
to something like:
/components/com_eventgallery/helpers/image/crop/63/EventFolder/image.jpg
which would allow plugins to detect the image url and modify it to use a "cdn"?
You would need an .htaccess file in /image/ to direct to image.php, which would be trivial, but changing all the places where the urls are generated is a greater task (and not one for a custom hack).
Thanks
BJ