Setting up ImageEngine in Magento is a simple process. We will outline the basic steps required to get started. This article applies only for configuring Magento 1.x to work utilize ImageEngine for Magento 2.x please see our article Magento 2.x.
To implement ImageEngine’s image optimization for Magento 1.x, you will first need to sign up for an ImageEngine account, if you do not already have one. During the signup process, you’ll be asked for the website domain where you intend to use ImageEngine and origin URL for the majority of the images. For more information about signing up, please refer to this article: Getting Started: Signup.
Once signed up, you will be issued a unique delivery address following this pattern: “aabbcc.cdn.imgeng.in.” Custom delivery addresses may also be made after the initial signup process is complete. For more information, see our article here: https://imageengine.io/docs/implementation/domain-name.
Take note of your delivery address, as we will be needing it in the next step.
Change Magento Base Media URLs
- Login to your Magento Backend
- In the top navigation bar, select
System
>Configuration
- In the menu on the left, select
General
>Web
- Open the
Secure
andUnsecure
sections from the dropdown - Now set the Base Media URL and Base Media URL (Secure) from {{unsecure_base_url}}media/ and {{secure_base_url}}media/ to the Delivery Address of your ImageEngine account.
For example, replace:
{{unsecure_base_url}}media/
with the example delivery address shown above:https://aabbcc.cdn.imgeng.in
- When finished, make sure to click on
Save Config
- After setting your Base URL you should flush your Magento caches by going to
System
>Cache Management
and clickFlush Cache Storage
Note:
There are other methods for accessing the Magento base media settings. The example above is provided as one of the simplest methods. |
Comments
0 comments
Please sign in to leave a comment.