Expand my Community achievements bar.

How to download original image rendition via dynamic media?

Avatar

Level 6

I have few assets in DM, and I want to download the original file using the scene7 url. However, when trying to download the asset with the scene7 URL, it is drastically reducing the asset size. I have an image of 4MB in DM, and downloading the same via the scene7 url gets me 97KB in file size. I'm not sending in any params with the URL.

How do I download the 4MB image as it is using the scene7 URL?

Thanks

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

6 Replies

Avatar

Level 6

Hi @MukeshYadav_ 


I was playing around with scl and qlt parameters.

My original asset size is 3926 Kb. And below is what I've observed so far,

Setting scl=1, gets me an asset of size 4.6 MB
Setting scl=1.0, gets me 952Kb
Setting scl=1.0 and qlt=100, gives me 4.2 MB

Setting scl=1 and qlt=100, gives me 4.2 MB

Two questions:
1. My understanding was that scl=1 and scl=1.0 should give the same output. But why it might be different here?
2. Is there no way I could get the asset in its original size? Here in the above tests, I'm able to get the asset with a larger size compared to the original. Ideally I want the exact size.


Thanks

Avatar

Community Advisor

Hi @jezwn 

If you are looking for the original image with the exact size and quality any reason why you are not trying to download the same directly from AEM DAM because when we are retrieving from scene7 server it applies the default compressions and optimizations to all the images to deliver better performance so in this case if we disable some properties that will also impact other images delivery as well 

 

You can try the below option also and see if that gives you back the original size 

sherinregi_0-1729696356882.png

 

Avatar

Level 6

I'm serving the assets from AEM author, and I do not have a publisher instance. Basically we have an asset dashboard outside AEM, and we are listing assets from author instance and are published to DM.

Avatar

Level 9

Hi @jezwn,

can you share an example URL you are using to retrieve the asset from DM?

Do you have Smart Imaging feature enabled?

Avatar

Administrator

@jezwn Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni