I fixed this on the development branch of the toolkit. You can get that in the latest nightly snapshot. http://cdn.percussion.com/downloads/open/psotoolkit/PSOToolkit7.x-SNAPSHOT.zip The error you were getting with PSOCopyParameter is because the fieldSize parameter was not specified.
-n
[QUOTE=vgupta;20782]Hi Nate & Chris,
Thanks for posting the reply. We followed the steps suggested by you with little bit of deviation as we used sys_CopyParameter instead of pso_CopyParameter after psoThumbnailGenerator in the pre-processing tab of Content Type. pso_CopyParameter in pre-processing tab was throwing below exception while editing content item:
<Error id=“0”>An error occurred processing the query submitted by session id 3929e198832989f9d1fa86d34800dace757da796.</Error><Error id=“1”>java.lang.NumberFormatException: For input string: “”</Error><Error id=“2”>edit handler</Error>
Please find below entries for pre-processing tab of content type
sys_imageInfoExtractor()
PSOThumbnailGenerator(uploadfilephoto,img200,200-,720,200,)
sys_CopyParameter(uploadfilephoto_clear,img200_clear)
After following the above mentioned approach, if we remove the main image from the content item, save and preview it (with the respective velocity page template) we did not get autogenerated thumbnail in preview but when we preview the same content item with binary template “BnImg200” (for autogenerated thumbnail), we get autogenerated thumbnail in the preview.
Ideally after following the above mentioned approach, it should not display the autogenerated thumbnail in binary template preview also.
As per the above followed approach we assumed that the autogenerated thumbnail is getting removed from img200 field of content type but it seems the autogenerated thumbnail is also getting stored in some system field which the binary template is utilizing. Please find below the bindings for our binary template i.e. “BnImg200”:
$sys.binary : $sys.item.getProperty(“rx:img200”)
$sys.mimetype : $sys.item.getProperty(“rx:img200_type”)
Please suggest some centralized approach to remove the thumbnails so that it will not get displayed in both binary as well as velocity template preview.
Thanks.[/QUOTE]