Skip to Content
author's profile photo Former Member
Former Member

Getting Issue of context path while uploading image from third party server

Hi All , I am getting the issue of media url while uploading image from backoffice on third party file system.

  • When I upload the product image from backoffice/hmc , I have saved a third party image url in media model.

  • After image upload successfully , the context path is getting append in my url like --

  • Actually URL of image which is save in media model-

http://devcdnr.koctas.com.tr/resize/fdc59ceedc6640f3/300/300/productimages/1000157330/1000157330_1_MC/8796158591026_1513940892977.jpg

  • Final URL getting with context path -

/backofficehttp://devcdnr.koctas.com.tr/resize/fdc59ceedc6640f3/300/300/productimages/1000157330/1000157330_1_MC/8796158591026_1513940892977.jpg

Please let me know from where this context path(/backoffice) is appended and how can i remove this from my image path .

Any help will be appreciated.

Thanks , Raj

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.