Images location...????

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

I'm using Nop 2.10...

I want to store product pictures on different location....and access it...

How can i do this....???
12 years ago
Dharmik wrote:
Hi everyone...

I'm using Nop 2.10...

I want to store product pictures on different location....and access it...

How can i do this....???


You would need to change the PictureService. Here are two properties used while storing images on the file system.


        /// <summary>
        /// Gets a local thumb image path
        /// </summary>
        public string LocalThumbImagePath
        {
            get
            {
                string path = HttpContext.Current.Request.PhysicalApplicationPath + "content\\images\\thumbs";
                return path;
            }
        }

        /// <summary>
        /// Gets the local image path
        /// </summary>
        public string LocalImagePath
        {
            get
            {
                string path = HttpContext.Current.Request.PhysicalApplicationPath + "content\\images";
                return path;
            }
        }
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.