I have a local version of Umbraco where I am integrating my own MVC controllers to use Progress Controls for my Data Display and Exports. I build in VS 2017, and publish the result to a File Folder on my 2008 IIS Web Server.
How can synch the Media data between my Development Environment and my Production Environment?
Link To Media ver.7.6.4
On my website I have a Link to media /media/1005/(myimage.jpg) Clicking on the link takes me to http://media/1005/(myimage.jpg) instead of http://(mywebsite)/media/1005/(my_image.jpg).
I have a local version of Umbraco where I am integrating my own MVC controllers to use Progress Controls for my Data Display and Exports. I build in VS 2017, and publish the result to a File Folder on my 2008 IIS Web Server.
How can synch the Media data between my Development Environment and my Production Environment?
Hi Warren
Can you show the code that renders an image?
Thanks,
Alex
The Page code is:
The Template code is:
After updating the Template the page source now reads:
The Template didn't get updated on the server. Your request for code cleared that up. Thanks
So you're just wanting the domain in the request?
If so you can just put this before your call to @typedMediaPickerSingle.Url: @HttpContext.Current.Request.Url.Host
Hope this helps!
Amir
is working on a reply...