Third Light Developer Exchange

Code and templating community forum for developers and software integrators

You are not logged in.

Announcement

If you wish to join the Developer Exchange, please contact your account manager - this is to avoid unnecessary spam in the forums. Many thanks for your understanding.

#1 2017-01-13 11:20:54

lgs_dev
Member
Registered: 2017-01-10
Posts: 4

Removing "photo stack" effect from folder thumbnails

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

#2 2017-01-13 11:24:21

thirdlight
Third Light Staff
Registered: 2013-06-06
Posts: 23

Re: Removing "photo stack" effect from folder thumbnails

It may be quicker and easier for you to adjust the templates to change the visual representation of the folder, instead!

Offline

#3 2017-01-13 11:32:53

lgs_dev
Member
Registered: 2017-01-10
Posts: 4

Re: Removing "photo stack" effect from folder thumbnails

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

#4 2017-01-13 12:36:45

ben
Third Light Staff
From: Third Light
Registered: 2013-06-06
Posts: 79

Re: Removing "photo stack" effect from folder thumbnails

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

#5 2017-01-13 14:04:45

lgs_dev
Member
Registered: 2017-01-10
Posts: 4

Re: Removing "photo stack" effect from folder thumbnails

Within IMS itself.

Offline

#6 2017-01-13 17:56:43

lgs_dev
Member
Registered: 2017-01-10
Posts: 4

Re: Removing "photo stack" effect from folder thumbnails

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

Board footer