-
Notifications
You must be signed in to change notification settings - Fork 14
Centralized assets in OneDrive #194
Comments
One pre-requisite is that Word allows (in a user friendly way) to reference an asset in OneDrive. |
some ideas:
|
I would do (3) but built into (2), and stay away from (1) because I think we want authors to stay in the browser as much as possible - for multiple reasons incl. the ability to preview drafts as well as using the tag picker. Speaking of which, maybe we could extend https://app.project-helix.io/bulkedit to become a hub for Helix related tools such as bulk editing, tags and a new assets tab, and build a Chrome extension wrapper for it (for starters, a bookmarklet would do as well). Later on we could also include more features, like a preview button. |
In any case, the generated Markdown should still contain a reference to the "local" image. |
why? and if so, how would we provide the image? would we need an extra action that has read access to the image? |
What would the markdown contain if it does not contain a link to the local image ? the blob storage link ? if so, how do you manage the updates, i.e. someone updates the photoshop logo (which also means all pages referencing that image must be "re-rendered" or updated) |
but the generated markdown is generated. :-) you also want the HTML to point to a new resource, so the browser doesn't cache the old image. |
I still do not see what the importer should write in a post md for image links in a case of a product image or how the resolution of this image in the docx will be done. |
word2md will replace the image with the correct, full-res image. |
The word2md does works 2 phases now.
There is still the fallback to serve the MD from onedrive directly. we could change that, so
So, as you said, if the importer can figure the proper location of the images (being somewhere in onedrive), it could use those in the MD file stored in markdown. and word2md can still post-process the images and upload them to azure. see: |
Ok. Now the other way around: I request the |
see https://github.com/adobe/helix-word2md/issues/109#issuecomment-628318961 if IF the |
Should we consider going directly to the |
no. I consider the output from word2md (gdocs2md, github) as source content, and it should only contain unaltered content. (qrCode stuff is a bit an edge case, since it involves a lot of external requests that should not happen in the pipeline) |
@davidnuescheler suggested to table this feature until we know more about actual use cases. The ones mentioned in the description above don't actually vouch for such an elaborate system:
|
Some images will be reused across multiple documents and therefore need to be manageable in a central location, e.g. product mnemonics, author pics, banner backgrounds etc. These should be stored in a dedicated OneDrive folder, and it should be simple to link/include them in multiple Word or markdown documents.
The text was updated successfully, but these errors were encountered: