You are not logged in.
Our client has requested that they choose the thumbnail for the folders. Which is fine, they can do that in the system. However the system applies a "photo stack" effect to them, which the client does not want. So what we need is to be able to get the asset ID of the asset selected as thumbnail for the folder.
If you go to the edit folder page you are able to select what type of thumbnail, and if you have already chosen a specific asset within the system is able to show this to you on the edit page to allow you to change it - so there must be some kind of call that returns this information. However we can't find any way to get at this asset ID in the API.
The only other way we can think of doing it, is making the client add in a custom piece of metadata to the asset they want to use as a thumbnail and then use an API call on the folder load up to search for assets with the meta tag on them and dynamically replace the image. Which is quite a long way round to "fix" functionality that is already in the system.
Any ideas?
Thanks in advance
Offline
It may be quicker and easier for you to adjust the templates to change the visual representation of the folder, instead!
Offline
That would be fine, if it was just a few ... but they want to have an image on every single folder at every single level and they want to be able to change it as well. So us hardcoding images into the templates is impractical.
Offline
Can I just check - are you looking to change the display in IMS itself, or get the thumbnail ID for each folder for an external interface?
Offline
Within IMS itself.
Offline
I've found it hiding in the $arrThumbnailInfo so we can dig through that and get what we need, no need to use the API.
Offline