Joomla is an award winning PHP based content management system. We have websites, web applications and e-commerce (shopping cart and virtue mart) developed using Joomla 2.5, 3.0 and 3.2.

But from time to time, and depending ion the server the install is hosted on, when HTTPS is enable you can experience the following issue: SVG files are listed as missing files (404 error).

Hopefully, there’s a quick workaround for that. There’s usually a filter that tells the plugin to load SVG or PNG files. By default it’s set to SVG, but you can easily decide to use PNG instead. Let’s have an example with Moneris. Using the following snippet, and placing it in the file called functions.php will tell the Moneris payment gateway to use PNG files:

You can easily check if the payment gateways that you use provide this filter by search for _use_svg in the source code. If so, then check for the plugin ID and replace gateway_moneris by the ID of your plugin and you’re done!


About the author Mughees: Hey! My name is Mughees Hafeez, i'm a WordPress Expert Developer, i create high level themes and plugins, and i provide free stuff every week on this website!

Leave a comment