We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the azure file provider, if you do not use the default root for media
e.g
<add key="AzureBlobFileSystem.UseDefaultRoute:media" value="false" />
Then media is stored within Umbraco using the container name, (not /media)
So you see the container name in the export :
<Value><![CDATA[{"src":"/container-name/fldloown/firefine.gif","crops":null}]]></Value>
It is likely that any site you are importing to will have a diffrent container name, so will want the import to go to a diffrent location.
Ideally, content should be exported to a generic path e.g /media/something/image.png and then at import time the folder name put over the top of it.
/media/something/image.png
The text was updated successfully, but these errors were encountered:
#128 make media path generic if using a container name.
71413b3
commit : 71413b3
Adds a setting to the web.config (or the uSync8.config file) that can be used to write the media folder in/out of a generic place:
<add key="uSync.mediaFolder" value="/container-name" />
on export /container-name is replaced with /media
/container-name/folder/image.png becomes /media/folder/image.png
/container-name/folder/image.png
/media/folder/image.png
and on import - /media is replaced with /container-name
/media/folder/image.png' becomes '/container-name/folder/image.png
Sorry, something went wrong.
#128 Autodetect azure blob storage settings
51aeb21
Attempt to work out if the container name is being used.
KevinJump
No branches or pull requests
When using the azure file provider, if you do not use the default root for media
e.g
Then media is stored within Umbraco using the container name, (not /media)
So you see the container name in the export :
It is likely that any site you are importing to will have a diffrent container name, so will want the import to go to a diffrent location.
Ideally, content should be exported to a generic path e.g
/media/something/image.png
and then at import time the folder name put over the top of it.The text was updated successfully, but these errors were encountered: