Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
to show Actual Image instead of preview image by using web services
maheshd
I have developed asp.net page to show image preview by using web services. Here my questions are
1. is there any way to show actual image instead of preview image
2. Is it possible to give download option to users for this image?
Find more posts tagged with
Comments
lyman
Image previews in MediaBin are handled via a different mechanism from the originals. Basically the previews are pre-cached JPEG images with well-defined resolutions (512x512, 256x256...16x16 or whatever dimensions will have the correct aspect ratio and fit in the indicated box with the further constraint that previews are never bigger than the original). These can be obtained synchronously.
To get the original would involve queuing a job to retrieve it and therefore would be considerably more involved. Whiile not impossible by any means, it would involve somewhat different code.
Cheers,
Lyman Hurd
maheshd
Lyman hurd,
Many thanks for your reply. Could you please suggest the steps how to show actual image, it would be great if you can share any sample code to implement the same and one more concern is how to implement “download asset“option.
Regards,
Mahesh
lyman
Are you using the COM or web services API?
To be honest I am the server guy but it will affect who I call on to answer.
Cheers,
Lyman Hurd
msnider
The WebService SDK contains sample C# code on how to retrieve an image. The SDK is installed with the webservice in the inetpub\wwwroot\MediaBinWebService directory.