Serving Content From Another Domain

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi,

I've just started testing NOP and have run into a problem, I have posted this question in another section, but feel I posted it in the wrong place.

We will be serving images from a different server, but I can only see that images must be served from the same server as the site. Is this correct or am I missing something?

As some background, I'm looking at setting up development services for our company as we supply product data to eCommerce sites. We currently serve images from one of our domains for all our clients and so having the facility to use separate domains is crucial to the business plan.

Thanks

Steve
5 years ago
Steve69 wrote:
Hi,

I've just started testing NOP and have run into a problem, I have posted this question in another section, but feel I posted it in the wrong place.

We will be serving images from a different server, but I can only see that images must be served from the same server as the site. Is this correct or am I missing something?

As some background, I'm looking at setting up development services for our company as we supply product data to eCommerce sites. We currently serve images from one of our domains for all our clients and so having the facility to use separate domains is crucial to the business plan.

Thanks

Steve


Default installation serves images from same domain.To serve images from different domain, you should override the PictureService's methods GetPictureUrl and GetThumbnailUrl and override IPictureService's registration in Dependency Registrar.

That's who we did it for one of our clients.
Hope that helps.
Best Regards,
Anshul
5 years ago
Steve69 wrote:
Hi,

I've just started testing NOP and have run into a problem, I have posted this question in another section, but feel I posted it in the wrong place.

We will be serving images from a different server, but I can only see that images must be served from the same server as the site. Is this correct or am I missing something?

As some background, I'm looking at setting up development services for our company as we supply product data to eCommerce sites. We currently serve images from one of our domains for all our clients and so having the facility to use separate domains is crucial to the business plan.

Thanks

Steve


Please check https://www.nopaccelerate.com/nopcommerce-plugins/nopaccelerate-cdn/.

I think it is free plugin.
5 years ago
RoastedBytes wrote:

Default installation serves images from same domain.To serve images from different domain, you should override the PictureService's methods GetPictureUrl and GetThumbnailUrl and override IPictureService's registration in Dependency Registrar.

That's who we did it for one of our clients.
Hope that helps.
Best Regards,
Anshul

Brilliant, thanks for the tip, I'll give it a go.

Steve
5 years ago
SuperNopCommerce wrote:

Excellent, that could be just the thing I'm looking for.

Steve
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.