Search DXM Forum
I request advice on a different way of uploading images.
Is there a way we can upload images locally from my computer to a particular file. And then when we publish the file; the image uploaded also gets published as an asset. Is this possible? If yes, then I would request for providing the steps to do so.
Thanks,
Somnath
Please can anyone provide some advise on this query?
Hi Som -
Thanks for your question. Pardon the delay responding.
Here's the information I've found -
So there are a few ways you can add files and publish them, but I'm not sure either satisfies your case.
You can upload files into your pages through image, document or WYSIWYG fields.
The uploaded files are published as an individual assets, but only when the page is published.
You can find the published locations of the uploaded by looking at Properties > Attachments. These files are basically a part of the page and not available to other pages.
This article provides a bit more detail
https://community.crownpeak.com/t5/CMS-Knowledge-Base/Uploaded-Asset-Filenames/ta-p/747
When you want to make a uploaded file available to multiple pages, you can add them to a folder then add them into pages through the image, document and WYSIWYG fields.
Here's videos on managing images and another on bulk uploading folders and zip files in CDC.
https://community.crownpeak.com/t5/DXM-Template-Development/Asset-Upload-in-CDC/ta-p/66
Do either of these fit your use case? If not, consider adding your request to the Ideas Exchange. That way the product team can review and research whether this can be included.
All the best,
Denise
Dear Denise,
First of all, apologies for late responding and second of all thank you for pointing me to the right direction.
I have followed the below documents:
What I did:
Result:
What I could not do:
Look forward to hearing form you soon.
Hi Som -
Glad that information helped!
Regarding what you were *not* able to do:
1) The attachments are the only place these assets are available. When you upload files directly into a page using the image upload field, it's a part of the page, so you cannot use it elsewhere. If you want to upload images to share, then you should first upload them to an assets folder, then use the image field to select it into the page. You are not able to do it the other way around.
2) To add the image to the preview, you'll just need to call it into an img tag. Support can help you troubleshoot this. @kensnyder or @MarcusEdwards , do you have additional tips for this?
Best,
Denise
For #2 - The field that is added to the input form via image upload will still need to be added to the output.aspx so that the image can render in the page output. This can also be managed in the component that is being used as well. If this is not the case, you should submit a support ticket so we can review your particular issue and advise accordingly.
--
## If I’ve helped, accept this response as a solution so that other’s can find is more quickly in the future.
## Have thoughts on Crownpeak products? We'd love to hear them. Speak with the Crownpeak Product Team..
Hello,
Can you please provide detailed step to complete this task as those aren't opening.
Thanks in advance