TACTIC Open Source
Disable thumbnail creation on publish - Printable Version

+- TACTIC Open Source (http://forum.southpawtech.com)
+-- Forum: TACTIC Open Source (http://forum.southpawtech.com/forumdisplay.php?fid=3)
+--- Forum: TACTIC Discussion (http://forum.southpawtech.com/forumdisplay.php?fid=4)
+--- Thread: Disable thumbnail creation on publish (/showthread.php?tid=101)



Disable thumbnail creation on publish - Bassment - 04-24-2020

Hey all, is there a way to publish a file for a certain task but not generate or change a thumbnail?
I want to be able to publish a file but not change the existing thumbnail for the previous task.
I know you can change settings in the column to not display the latest icon but is there a way to set this for only one task?
I'd like to publish a working file to a task called something like "Maya" or "Photoshop" but keep existing preview thumbnails for the movie or .png files published.
Ideas?


RE: Disable thumbnail creation on publish - listy - 04-24-2020

If you enabled Preview widget for task (why you need this?!), you can choose icon context for it in the column definition of Preview widget.


RE: Disable thumbnail creation on publish - remkonoteboom - 04-24-2020

The versioning of files on an sobject is controlled by the "context" column. If you check two files in with the same context, they will be grouped together as versions. While the "context" can any string of characters, there are two have built-in significance, "icon" and "publish".

I will admit that the following is how I remember it ... it's been many many years since I've looked at this code specifically, so I hope I am correct.

The preview widget will cascade snapshots to find a icon until it comes across one it can use.

1) It first looks at the "icon" snapshot.
2) If no "icon" snapshot is found, it will look for "publish" snapshot
3) If no "publish" snapshot is found, use the latest snapshot for that sobject

What this means is that you can check in your image into the "icon" context and that will be the one displayed as the preview regardless of what other files are checked into the sobject (in your case task).

On the interface, if your click the right mouse button on any row, you will see two menu items (Change Preview Image and Check in new file). They check into the "icon" and "publish" context respectively. Of course you can check in any number of files with any number of contexts into an sobject.

Hope this helps.


RE: Disable thumbnail creation on publish - Bassment - 04-24-2020

Thanks for the fast replies guys. 
You've helped me a lot. I was trying to figure this out all morning.