Code: Select all
thumbsconf((thumbsconf() == '0,1,0,0') ? '1,0,4,2' : '0,1,0,0');
Code: Select all
thumbsconf((thumbsconf() == '0,1,0,0') ? '1,0,4,2' : '0,1,0,0');
Code: Select all
thumbsconf((thumbsconf() == '0,1,0,5,0') ? '1,0,4,2,0' : '0,1,0,5,0');
Leave out any values that should not be touched
, but apparently if the last comma before the new transparency value is missing the code doesn't work. It's easy code to fix though.thumbsconf([settings="ShowCaption,ZoomToFill,Style,Padding"], [separator=","])
... thumbsconf() == '0,1,0,5,0' ...
thumbsconf((thumbsconf() == '0,1,0,0,0') ? '1,0,0,1,0' : '0,1,0,0,0');
(Note: this has the transparency flag so it should work and it does), I notice that XY is completely redrawing the thumbnails each and every time it changes the view. It's simply going back and forth from normal thumbs to Zoom-to-Fill thumbs and it's rewriting the thumbs each cycle. I confirmed the normal and Zoom-to-Fill thumbnail cache files exist and based on the times are definitely being redrawn each time. This behavior did not happen previously. So, something else is not right. thumbsconf((thumbsconf() == '0,1,0,0') ? '1,0,0,1' : '0,1,0,0');
as used in older scripts. Not a big deal, I've changed any old scripts to add the transparency flag anyway.