ImageKit Url Set For Stores

To set Url for image kit go to

Settings > Stores . Edit any store you want to set.
Go to the Server tab. You can find attached image for the setting. Set the Url you want to use. And clear the cache. You’ll find that the product images link from product and category page will be changed.