Hey guys,
I'm facing this issue and not sure if there is a solution for that. Basically, I have built a car dealer website which has a showroom page. On the showroom page we show all images of latest models and we manually update these images within Umbraco. The problem is every year we have new car models and we have to update these images. We don't want to do this manually, instead we want to automate it and we already have our own API which returns images of latest models. How do I make a document type which has a property called ModelImage to load external data source or is there any workaround that I'm not aware of? Hope I made myself clear.
Thanks
This gives a method of creating an Umbraco media item from an external source (file on the server somewhere). You would then need to access the relevant content to reference the uploaded media item.
You have to decide of course what will trigger the Media update, for example an external service running overnight.
You could have a look at CMSImport http://soetemansoftware.nl/cmsimport which can load JSON data, it only needs that images are stored in the site structure but there are work arounds to download these.
Load content dynamically from external source
Hey guys, I'm facing this issue and not sure if there is a solution for that. Basically, I have built a car dealer website which has a showroom page. On the showroom page we show all images of latest models and we manually update these images within Umbraco. The problem is every year we have new car models and we have to update these images. We don't want to do this manually, instead we want to automate it and we already have our own API which returns images of latest models. How do I make a document type which has a property called ModelImage to load external data source or is there any workaround that I'm not aware of? Hope I made myself clear. Thanks
Hi,
See this link: https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/53736-How-to-upload-images-programmatically-into-a-upload-property-in-umbraco-7-back-office-content-page
This gives a method of creating an Umbraco media item from an external source (file on the server somewhere). You would then need to access the relevant content to reference the uploaded media item.
You have to decide of course what will trigger the Media update, for example an external service running overnight.
Tim
You could have a look at CMSImport http://soetemansoftware.nl/cmsimport which can load JSON data, it only needs that images are stored in the site structure but there are work arounds to download these.
is working on a reply...