INTERACT FORUM

Windows => Plug-in Development => Topic started by: GrantDG on November 09, 2011, 07:29:34 pm

Title: Get default image via MCWS
Post by: GrantDG on November 09, 2011, 07:29:34 pm
I'm working with MCWS, if a file doesn't have an image, I'd like to display a 'default' image (e.g. the MC logo)

Is there a standard method to get a default image via MCWS?
Title: Re: Get default image via MCWS
Post by: Matt on November 10, 2011, 03:56:20 pm
This isn't currently possible.

Are you calling with Type=Full or Type=Thumbnail?

Thanks.
Title: Re: Get default image via MCWS
Post by: GrantDG on November 10, 2011, 04:54:12 pm
I'm calling without Type or ThumbnailSize parameters, so I'm implicitly getting Large / Thumbnail

Does the size make a difference?
Title: Re: Get default image via MCWS
Post by: Matt on November 10, 2011, 05:11:18 pm
I'm just trying to figure out how to return the logo, since we don't keep different size versions.

Also, thumbnails are always JPEG and the logo is a PNG.  I wonder if a separate call to get the logo artwork would be better?
Title: Re: Get default image via MCWS
Post by: GrantDG on November 10, 2011, 06:04:30 pm
I could work with a separate call - but it seems a little overkill.

I can just add my own logic to use a static image of my own instead, if the return for GetImage is not a valid file.