Thumbnails view customization

Post Reply
Tom
Posts: 360
Joined: 05 Dec 05 15:23
Location: Estonia

Thumbnails view customization

Post by Tom » 22 Sep 12 13:29

I started testing the PhotoSupreme, and I am currently quite happy about it. One thing I miss compared to IDI is the customization of features. The PS seems to be too much predefined. Just one example:

Is it possible to customize the thumbnail view? On my screen, there is a jump in thumbnails behavior at zoom levels 157% to 158% (see attached pictures). How to make the image to fill the frame at zoom levels below 157%?

Tom
Attachments
Zoom_158.jpg
Zoom_158.jpg (220.78 KiB) Viewed 2653 times
Zoom_157.jpg
Zoom_157.jpg (120.76 KiB) Viewed 2653 times

andy@damroundup.com
Posts: 662
Joined: 13 Apr 08 19:54
Location: Boston, MA USA

Re: Thumbnails view customization

Post by andy@damroundup.com » 22 Sep 12 15:10

Hi Tom - you can customize the thumbnail view (though what you report does appear to be a bug). If you click the View Button in the top right corner of the screen, you will then see an option to "show custom thumb info". Some time during beta, I (with Hert's help of course) created the following script for my custom thumb display - it looks really great and handles items like a GPS indicator and the type of image you have (JPG/DNG), etc. Please note that it does tend to slow things down when viewing thumb info so may not be best for everyone... I always used a script similar to this with v5 because I like to see image data right as I'm viewing thumbs and always excepted the performance hit in doing so. Any questions - just let me know. Enjoy!

Code: Select all

        %code
        function BasketIcon (Acolor: String):String;
               begin
                 result := '<img ' +
                           'size="28" ' +
                           'pathcolor="' + AColor + '" ' +
                           'pathfillstyle="gradient" ' +
                           'pathstrokestyle="bold" ' +
                           'path="' +
                           'M 355.771,319.772 C 354.341,323.739 352.264,329.679 349.542,337.592 L 349.542,337.592 C 347.576,340.535 343.423,342.769 337.077,344.302 L 337.077,344.302 C 331.715,345.629 322.612,346.138 309.770,345.842 L 309.770,345.842 C 302.902,344.969 297.312,343.759 293.002,342.212 L 293.002,342.212 L 289.496,340.122 C 288.210,339.325 287.302,338.479 286.773,337.592 L 286.773,337.592 L 280.544,320.322 C 280.022,318.865 280.393,317.469 281.672,316.142 L 281.672,316.142 C 282.208,315.489 282.999,314.939 284.051,314.492 L 284.051,314.492 C 284.889,314.059 285.721,313.653 286.546,313.282 L 286.546,313.282 C 286.546,301.629 288.512,290.663 292.438,280.392 L 292.438,280.392 C 294.782,274.315 297.801,269.255 301.499,265.212 L 301.499,265.212 C 306.188,260.159 311.358,257.629 317.023,257.622 L 317.023,257.622 C 323.217,257.705 328.807,261.039 333.791,267.632 L 333.791,267.632 C 334.926,267.199 336.060,266.979 337.194,266.972 L 337.194,266.972 C 338.026,266.979 338.858,267.123 339.683,267.412 L 339.683,267.412 C 342.632,265.363 346.675,263.645 351.804,262.242 L 351.804,262.242 L 351.921,262.022 C 354.265,264.229 355.434,267.529 355.434,271.922 L 355.434,271.922 C 355.434,273.249 355.324,274.755 355.090,276.432 L 355.090,276.432 C 354.643,277.903 353.811,279.223 352.601,280.392 L 352.601,280.392 C 350.786,280.035 348.146,279.629 344.667,279.182 L 344.667,279.182 C 349.205,286.305 352.450,294.149 354.416,302.722 L 354.416,302.722 C 352.147,301.629 349.920,300.783 347.727,300.192 L 347.727,300.192 L 346.366,302.282 C 346.366,302.433 346.592,305.775 347.046,312.292 L 347.046,312.292 C 348.861,312.959 350.676,313.763 352.484,314.712 L 352.484,314.712 C 354.980,316.039 356.073,317.723 355.771,319.772 L 355.771,319.772 Z M 352.147,278.192 C 353.131,276.363 353.619,274.163 353.619,271.592 L 353.619,271.592 C 353.619,268.519 352.904,266.065 351.467,264.222 L 351.467,264.222 C 348.146,265.253 344.936,266.539 341.835,268.072 L 341.835,268.072 L 341.835,268.402 C 342.969,268.925 343.877,269.915 344.557,271.372 L 344.557,271.372 C 345.540,273.435 345.348,275.305 343.987,276.982 L 343.987,276.982 C 345.802,277.353 348.524,277.759 352.147,278.192 L 352.147,278.192 Z M 342.516,275.442 C 343.272,273.545 343.107,271.984 342.007,270.774 L 342.007,270.774 C 340.914,269.564 339.312,268.959 337.194,268.952 L 337.194,268.952 C 336.060,268.959 335.042,269.103 334.135,269.392 L 334.135,269.392 L 331.756,271.042 C 330.773,272.513 330.471,273.985 330.849,275.442 L 330.849,275.442 C 331.302,277.065 333.117,278.165 336.287,278.742 L 336.287,278.742 C 339.614,278.673 341.691,277.573 342.516,275.442 L 342.516,275.442 Z M 351.804,299.642 C 348.559,290.045 345.355,283.115 342.179,278.852 L 342.179,278.852 C 340.446,280.035 339.044,280.653 337.985,280.722 L 337.985,280.722 C 339.119,283.589 340.212,287.143 341.271,291.392 L 341.271,291.392 L 343.987,302.282 L 347.046,297.662 Z M 330.168,269.942 C 329.639,269.873 328.848,269.653 327.789,269.282 L 327.789,269.282 C 326.057,268.993 323.334,268.705 319.629,268.402 L 319.629,268.402 C 319.024,270.025 318.721,271.743 318.721,273.572 L 318.721,273.572 C 318.721,276.659 319.477,279.265 320.990,281.382 L 320.990,281.382 C 321.897,281.025 324.847,280.069 329.824,278.522 L 329.824,278.522 C 329.907,278.165 329.790,277.649 329.487,276.982 L 329.487,276.982 C 328.965,276.109 328.697,275.593 328.697,275.442 L 328.697,275.442 C 328.546,275.009 328.470,274.569 328.470,274.122 L 328.470,274.122 C 328.470,272.953 329.041,271.565 330.168,269.942 L 330.168,269.942 Z M 335.716,302.172 C 335.647,300.639 335.606,298.693 335.606,296.342 L 335.606,296.342 C 335.606,294.005 335.647,291.289 335.716,288.202 L 335.716,288.202 C 335.647,287.769 335.723,286.483 335.943,284.352 L 335.943,284.352 C 336.094,282.819 335.984,281.609 335.606,280.722 L 335.606,280.722 C 335.304,280.729 334.025,280.323 331.756,279.512 L 331.756,279.512 C 329.116,286.559 327.755,293.929 327.672,301.622 L 327.672,301.622 L 331.529,298.542 Z M 342.969,311.082 C 343.052,309.913 342.935,308.195 342.632,305.912 L 342.632,305.912 L 337.985,287.432 L 337.985,306.682 L 331.866,301.292 L 331.412,301.182 C 330.202,302.289 328.353,303.795 325.864,305.692 L 325.864,305.692 L 325.294,301.182 C 325.679,296.789 326.057,293.345 326.428,290.842 L 326.428,290.842 C 327.033,286.889 327.831,283.665 328.807,281.162 L 328.807,281.162 C 327.143,281.753 324.579,282.633 321.100,283.802 L 321.100,283.802 C 320.275,283.293 319.326,282.303 318.267,280.832 L 318.267,280.832 C 317.140,278.199 316.569,275.635 316.569,273.132 L 316.569,273.132 C 316.569,270.423 317.291,268.155 318.721,266.312 L 318.721,266.312 C 322.049,266.395 325.259,266.725 328.353,267.302 L 328.353,267.302 C 325.108,263.493 321.292,261.589 316.913,261.582 L 316.913,261.582 C 313.366,261.589 310.231,262.723 307.508,264.992 L 307.508,264.992 C 300.867,270.575 296.027,279.519 293.002,291.832 L 293.002,291.832 C 291.421,298.295 290.623,304.929 290.623,311.742 L 290.623,311.742 C 293.497,310.869 299.052,309.955 307.281,308.992 L 307.281,308.992 C 308.113,308.923 310.945,308.813 315.779,308.662 L 315.779,308.662 C 319.409,308.593 322.241,308.635 324.276,308.772 L 324.276,308.772 L 333.791,309.542 C 336.892,309.769 339.951,310.285 342.969,311.082 L 342.969,311.082 Z M 351.804,319.112 C 351.432,318.535 350.711,318.019 349.652,317.572 L 349.652,317.572 C 348.222,316.995 347.390,316.623 347.163,316.472 L 347.163,316.472 L 347.390,319.442 C 347.617,319.449 348.167,319.710 349.033,320.219 L 349.033,320.219 C 349.899,320.735 350.525,320.955 350.903,320.872 L 350.903,320.872 C 351.508,320.659 351.804,320.075 351.804,319.112 L 351.804,319.112 Z M 348.861,321.752 L 347.163,320.872 L 347.390,322.412 Z M 342.969,318.012 L 342.969,315.372 C 335.194,313.619 326.999,312.739 318.384,312.732 L 318.384,312.732 C 310.987,312.739 303.734,313.399 296.632,314.712 L 296.632,314.712 C 293.689,315.235 291.572,315.675 290.286,316.032 L 290.286,316.032 C 288.169,316.623 286.244,317.503 284.504,318.672 L 284.504,318.672 C 284.504,318.899 284.580,319.483 284.731,320.432 L 284.731,320.432 C 285.034,320.879 285.412,321.023 285.866,320.872 L 285.866,320.872 C 291.077,318.095 298.220,316.369 307.281,315.702 L 307.281,315.702 C 311.365,315.413 315.325,315.269 319.175,315.262 L 319.175,315.262 C 328.319,315.269 336.245,316.183 342.969,318.012 L 342.969,318.012 Z M 342.969,322.192 L 342.859,319.662 C 341.271,319.373 338.968,318.823 335.943,318.012 L 335.943,318.012 C 328.848,317.139 322.386,316.699 316.569,316.692 L 316.569,316.692 C 303.961,316.699 294.177,318.383 287.227,321.752 L 287.227,321.752 C 287.983,322.123 289.159,322.563 290.740,323.072 L 290.740,323.072 C 293.160,322.343 296.817,321.463 301.726,320.432 L 301.726,320.432 C 302.331,320.515 303.129,320.363 304.105,319.992 L 304.105,319.992 C 309.021,319.415 313.819,319.119 318.494,319.112 L 318.494,319.112 C 327.789,319.119 335.943,320.143 342.969,322.192 L 342.969,322.192 Z M 342.632,323.732 L 342.179,323.732 L 333.791,321.752 C 328.882,321.099 323.898,320.769 318.838,320.762 L 318.838,320.762 C 309.777,320.769 301.314,321.759 293.456,323.732 L 293.456,323.732 C 294.143,323.815 296.178,324.179 299.574,324.832 L 299.574,324.832 C 305.391,323.663 311.551,323.079 318.041,323.072 L 318.041,323.072 C 323.486,323.079 328.731,323.519 333.791,324.392 L 333.791,324.392 C 334.547,324.695 335.421,324.839 336.397,324.832 L 336.397,324.832 C 336.026,324.839 338.102,324.475 342.632,323.732 L 342.632,323.732 Z M 331.412,325.712 C 327.260,325.059 322.805,324.729 318.041,324.722 L 318.041,324.722 C 313.888,324.729 309.509,324.983 304.902,325.492 L 304.902,325.492 C 308.986,326.015 313.441,326.269 318.267,326.262 L 318.267,326.262 C 322.427,326.269 326.806,326.083 331.412,325.712 L 331.412,325.712 Z M 350.449,323.512 C 349.693,323.883 346.709,324.839 341.498,326.372 L 341.498,326.372 C 334.554,327.775 326.923,328.469 318.611,328.462 L 318.611,328.462 C 304.641,328.469 293.724,326.819 285.866,323.512 L 285.866,323.512 C 285.866,324.983 287.495,326.193 290.740,327.142 L 290.740,327.142 C 298.825,329.493 307.886,330.669 317.931,330.662 L 317.931,330.662 C 328.133,330.669 336.706,329.645 343.650,327.582 L 343.650,327.582 L 347.727,326.372 C 349.239,325.719 350.147,324.763 350.449,323.512 L 350.449,323.512 Z M 348.861,327.472 C 347.046,328.283 343.120,329.383 337.077,330.772 L 337.077,330.772 C 335.118,331.219 332.471,331.583 329.144,331.872 L 329.144,331.872 C 322.049,332.463 314.988,332.463 307.962,331.872 L 307.962,331.872 C 299.354,331.219 292.514,329.755 287.454,327.472 L 287.454,327.472 C 287.454,327.775 287.722,328.469 288.244,329.562 L 288.244,329.562 C 289.454,330.153 292.136,331.109 296.288,332.422 L 296.288,332.422 C 303.239,333.825 310.451,334.519 317.931,334.512 L 317.931,334.512 C 329.563,334.519 339.312,332.979 347.163,329.892 L 347.163,329.892 C 348.373,329.459 348.937,328.655 348.861,327.472 L 348.861,327.472 Z M 347.500,331.432 C 347.197,331.583 346.524,331.845 345.465,332.202 L 345.465,332.202 C 345.238,332.285 344.936,332.395 344.557,332.532 L 344.557,332.532 C 336.321,334.959 327.487,336.169 318.041,336.162 L 318.041,336.162 C 307.247,336.169 297.505,334.629 288.815,331.542 L 288.815,331.542 C 289.193,333.233 290.252,334.333 291.984,334.842 L 291.984,334.842 C 299.767,337.269 308.416,338.479 317.931,338.472 L 317.931,338.472 C 328.202,338.479 337.304,337.083 345.238,334.292 L 345.238,334.292 C 346.751,333.783 347.500,332.835 347.500,331.432 L 347.500,331.432 Z M 346.029,335.612 C 343.540,337.159 338.782,338.335 331.756,339.132 L 331.756,339.132 C 326.242,339.799 321.217,340.129 316.686,340.122 L 316.686,340.122 C 306.188,340.129 297.388,338.589 290.286,335.502 L 290.286,335.502 L 290.740,336.492 C 294.824,339.063 301.128,340.865 309.660,341.882 L 309.660,341.882 C 318.274,342.033 323.822,342.033 326.311,341.882 L 326.311,341.882 C 332.512,341.525 337.682,340.493 341.835,338.802 L 341.835,338.802 C 342.969,338.225 344.365,337.159 346.029,335.612 L 346.029,335.612 Z ' +
                           '"' +
                           '>' +
                           '';
            end;           

            function GlobeIcon (AColor: String): String;
            begin
              result := '<img ' +
                        'size="28" ' +
                        'pathcolor="' + AColor + '" ' +
                        'pathfillstyle="gradient" ' +
                        'pathstrokestyle="none" ' +
                        'path="' +
                        'M 373.711,312.759 C 373.711,327.012 368.437,339.178 357.889,349.255 L 357.889,349.255 C 347.342,359.336 334.710,364.375 ' +
                        '319.993,364.375 L 319.993,364.375 C 305.280,364.375 292.668,359.417 282.154,349.497 L ' +
                        '282.154,349.497 C 271.532,339.510 266.222,327.388 266.222,313.135 L 266.222,313.135 C 266.222,298.888 ' +
                        '271.532,286.749 282.154,276.719 L 282.154,276.719 C 292.668,266.802 305.280,261.844 319.993,261.841 L ' +
                        '319.993,261.841 C 334.710,261.844 347.305,266.732 357.779,276.504 L 357.779,276.504 C 368.400,286.427 ' +
                        '373.711,298.512 373.711,312.759 L 373.711,312.759 Z M 370.891,312.437 C 370.891,299.157 365.839,287.770 ' +
                        '355.731,278.276 L 355.731,278.276 C 345.700,268.897 333.827,264.207 320.104,264.204 L 320.104,264.204 L ' +
                        '314.572,275.215 L 320.601,276.397 L 325.304,271.831 L 333.602,272.368 L 335.264,276.665 L 330.282,281.499 ' +
                        'L 330.282,284.399 L 333.380,284.990 L 334.821,282.734 L 340.296,279.404 L 340.131,281.660 L 342.179,285.098 ' +
                        'L 339.742,287.568 L 341.293,289.019 L 337.640,289.233 L 339.134,292.134 L 331.225,295.786 L 332.440,300.137 ' +
                        'L 329.953,300.137 L 328.845,295.840 L 323.038,295.732 L 321.984,297.397 L 319.607,296.323 L 315.733,300.083 ' +
                        'L 318.832,303.682 L 318.721,307.656 L 321.984,310.020 L 341.017,312.114 L 347.047,316.250 L 346.328,326.509 ' +
                        'L 333.216,339.238 C 332.370,340.064 331.537,342.357 330.725,346.113 L 330.725,346.113 C 329.953,349.658 ' +
                        '329.674,352.183 329.896,353.687 L 329.896,353.687 L 327.905,355.889 C 326.358,352.918 324.347,348.352 ' +
                        '321.873,342.192 L 321.873,342.192 C 321.285,340.084 320.768,337.399 320.325,334.136 L 320.325,334.136 C 319.996,331.454 319.664,328.751 319.328,326.025 L 319.328,326.025 L 311.030,318.936 L 318.388,310.503 L 315.347,306.260 C 310.664,305.333 307.623,304.501 306.220,303.766 L 306.220,303.766 C 304.816,303.034 302.403,300.983 298.972,297.612 L 298.972,297.612 L 301.849,303.037 L 299.912,303.843 L 295.430,295.679 L 296.317,288.052 L 294.934,282.681 L 290.616,278.599 L 287.464,277.847 L 284.698,279.727 L 281.653,280.479 C 273.285,289.865 269.099,300.640 269.099,312.813 L 269.099,312.813 C 269.099,326.422 274.114,337.969 284.144,347.456 L 284.144,347.456 C 294.067,356.839 306.052,361.528 320.104,361.528 L 320.104,361.528 C 334.156,361.528 346.133,356.748 356.036,347.188 L 356.036,347.188 C 365.939,337.630 370.891,326.046 370.891,312.437 L 370.891,312.437 Z ' +
                        '"' +
                        '>' +
                        '';
            end;


        function JPGIcon (Acolor: String):String;
               begin
                 result := '<img ' +
                           'size="28" ' +
                           'pathcolor="' + AColor + '" ' +
                           'pathfillstyle="gradient" ' +
                           'pathstrokestyle="none" ' +
                           'path="' +
                           'M 336.759,290.892 L 312.511,290.892 L 312.511,293.532 C 312.896,293.538 313.329,293.580 313.818,293.648 L 313.818,293.648 C 314.313,293.724 314.856,293.834 315.461,293.972 L 315.461,293.972 C 316.898,294.198 317.915,294.494 318.520,294.852 L 318.520,294.852 C 319.352,295.223 319.957,295.738 320.328,296.392 L 320.328,296.392 C 320.631,296.914 320.782,297.643 320.782,298.592 L 320.782,298.592 L 320.782,326.862 C 320.782,329.144 320.672,331.268 320.445,333.242 L 320.445,333.242 C 320.218,335.084 319.799,336.693 319.194,338.082 L 319.194,338.082 C 318.596,339.553 317.688,340.653 316.478,341.382 L 316.478,341.382 C 315.351,342.268 313.838,342.708 311.948,342.702 L 311.948,342.702 C 309.981,342.708 308.434,342.378 307.300,341.712 L 307.300,341.712 C 306.090,341.058 305.224,340.323 304.694,339.512 L 304.694,339.512 C 304.921,338.858 305.299,338.164 305.829,337.422 L 305.829,337.422 C 306.056,337.064 306.283,336.713 306.509,336.383 L 306.509,336.383 C 306.736,336.053 306.922,335.744 307.073,335.442 L 307.073,335.442 C 307.307,335.084 307.513,334.720 307.699,334.348 L 307.699,334.348 C 307.891,333.984 308.056,333.613 308.208,333.242 L 308.208,333.242 C 308.586,332.368 308.771,331.564 308.771,330.822 L 308.771,330.822 C 308.771,329.584 308.283,328.484 307.300,327.522 L 307.300,327.522 C 306.324,326.724 305.073,326.318 303.560,326.312 L 303.560,326.312 C 301.828,326.318 300.501,326.978 299.593,328.292 L 299.593,328.292 C 298.693,329.618 298.239,331.124 298.239,332.802 L 298.239,332.802 C 298.239,336.624 299.559,339.704 302.199,342.042 L 302.199,342.042 C 304.770,344.324 308.173,345.458 312.401,345.452 L 312.401,345.452 C 315.193,345.458 317.613,344.984 319.648,344.022 L 319.648,344.022 C 321.765,343.073 323.580,341.753 325.086,340.062 L 325.086,340.062 C 326.296,338.748 327.279,337.098 328.035,335.112 L 328.035,335.112 C 328.791,333.063 329.169,331.303 329.169,329.832 L 329.169,329.832 L 329.169,298.262 C 329.169,297.313 329.321,296.543 329.623,295.952 L 329.623,295.952 C 329.774,295.298 330.345,294.783 331.321,294.412 L 331.321,294.412 C 332.304,294.123 333.212,293.944 334.037,293.862 L 334.037,293.862 C 335.178,293.648 336.086,293.538 336.759,293.532 L 336.759,293.532 Z M 280.336,316.852 C 280.336,311.503 281.374,306.505 283.451,301.843 L 283.451,301.843 C 285.527,297.189 288.359,293.119 291.948,289.633 L 291.948,289.633 C 295.537,286.155 299.731,283.405 304.529,281.383 L 304.529,281.383 C 309.328,279.369 314.478,278.358 319.991,278.352 L 319.991,278.352 C 325.505,278.358 330.661,279.369 335.460,281.383 L 335.460,281.383 C 340.259,283.405 344.446,286.155 348.034,289.633 L 348.034,289.633 C 351.623,293.119 354.456,297.189 356.532,301.843 L 356.532,301.843 C 358.608,306.505 359.646,311.503 359.646,316.852 L 359.646,316.852 C 359.646,322.214 358.608,327.219 356.532,331.873 L 356.532,331.873 C 354.456,336.535 351.623,340.605 348.034,344.083 L 348.034,344.083 C 344.446,347.569 340.259,350.319 335.460,352.333 L 335.460,352.333 C 330.661,354.355 325.505,355.352 319.991,355.352 L 319.991,355.352 C 314.478,355.352 309.328,354.355 304.529,352.333 L 304.529,352.333 C 299.731,350.319 295.537,347.569 291.948,344.083 L 291.948,344.083 C 288.359,340.605 285.527,336.535 283.451,331.873 L 283.451,331.873 C 281.374,327.219 280.336,322.214 280.336,316.852 L 280.336,316.852 Z ' +
                           '"' +
                           '>' +
                           '';
            end;           

        function TIFFIcon (Acolor: String):String;
               begin
                 result := '<img ' +
                           'size="28" ' +
                           'pathcolor="' + AColor + '" ' +
                           'pathfillstyle="gradient" ' +
                           'pathstrokestyle="none" ' +
                           'path="' +
                           'M 343.786,290.562 L 295.970,290.562 L 295.970,305.082 L 298.693,305.082 C 298.844,304.648 299.016,304.174 299.201,303.658 L 299.201,303.658 C 299.394,303.150 299.634,302.558 299.937,301.892 L 299.937,301.892 C 300.466,300.723 301.147,299.513 301.979,298.262 L 301.979,298.262 C 302.886,297.024 303.711,296.034 304.468,295.292 L 304.468,295.292 C 305.451,294.343 306.358,293.834 307.190,293.752 L 307.190,293.752 C 307.719,293.683 308.269,293.648 308.833,293.648 L 308.833,293.648 C 309.397,293.648 309.981,293.614 310.586,293.532 L 310.586,293.532 L 313.529,293.532 L 315.798,293.532 L 315.798,336.542 C 315.798,337.648 315.571,338.453 315.117,338.962 L 315.117,338.962 C 314.814,339.553 314.209,340.034 313.302,340.392 L 313.302,340.392 C 312.628,340.694 311.611,340.873 310.249,340.942 L 310.249,340.942 C 308.737,341.093 307.644,341.203 306.963,341.272 L 306.963,341.272 L 306.963,343.912 L 332.909,343.912 L 332.909,341.272 C 332.456,341.278 331.947,341.223 331.376,341.113 L 331.376,341.113 C 330.813,341.003 330.153,340.873 329.396,340.722 L 329.396,340.722 C 327.884,340.508 326.901,340.288 326.447,340.062 L 326.447,340.062 C 325.691,339.773 325.051,339.264 324.522,338.522 L 324.522,338.522 C 324.219,337.868 324.068,337.098 324.068,336.212 L 324.068,336.212 L 324.068,293.532 L 326.220,293.532 L 329.623,293.532 C 330.228,293.614 330.792,293.648 331.321,293.648 L 331.321,293.648 C 331.851,293.648 332.304,293.683 332.683,293.752 L 332.683,293.752 C 333.666,294.054 334.532,294.563 335.288,295.292 L 335.288,295.292 C 336.347,296.323 337.213,297.313 337.894,298.262 L 337.894,298.262 C 338.272,298.853 338.609,299.444 338.911,300.028 L 338.911,300.028 C 339.214,300.620 339.516,301.238 339.819,301.892 L 339.819,301.892 C 340.499,303.143 340.953,304.208 341.180,305.082 L 341.180,305.082 L 343.786,305.082 Z M 280.336,316.852 C 280.336,311.503 281.374,306.505 283.451,301.843 L 283.451,301.843 C 285.527,297.189 288.359,293.119 291.948,289.633 L 291.948,289.633 C 295.537,286.155 299.731,283.405 304.529,281.383 L 304.529,281.383 C 309.328,279.369 314.478,278.358 319.991,278.352 L 319.991,278.352 C 325.505,278.358 330.661,279.369 335.460,281.383 L 335.460,281.383 C 340.259,283.405 344.446,286.155 348.034,289.633 L 348.034,289.633 C 351.623,293.119 354.456,297.189 356.532,301.843 L 356.532,301.843 C 358.608,306.505 359.646,311.503 359.646,316.852 L 359.646,316.852 C 359.646,322.214 358.608,327.219 356.532,331.873 L 356.532,331.873 C 354.456,336.535 351.623,340.605 348.034,344.083 L 348.034,344.083 C 344.446,347.569 340.259,350.319 335.460,352.333 L 335.460,352.333 C 330.661,354.355 325.505,355.352 319.991,355.352 L 319.991,355.352 C 314.478,355.352 309.328,354.355 304.529,352.333 L 304.529,352.333 C 299.731,350.319 295.537,347.569 291.948,344.083 L 291.948,344.083 C 288.359,340.605 285.527,336.535 283.451,331.873 L 283.451,331.873 C 281.374,327.219 280.336,322.214 280.336,316.852 L 280.336,316.852 Z ' +
                           '"' +
                           '>' +
                           '';
            end;           

           result := '';

           if AnsiUpperCase(ImageItem.FileNameExtension) = '.JPG' then
                     result := result + JPGIcon ('#FFFFFA42')
           else
                    result := result + TIFFIcon ('#FF98F23D');




                if Catalog.ImageHasXMPProperty (ImageItem, 'exif:GPSLatitude') then
                       result := result + GlobeIcon ('#FFA6F4FF')
                         else
                    result := result + GlobeIcon ('#40A6F4FF')   

                   
           if Catalog.ImageHasXMPProperty (ImageItem, 'ics:Portfolios') then
                     result := result + BasketIcon ('#FFFFD700')
                      else
                    result := result + BasketIcon ('#40FFD700')  %/code

<FONT color="#C9FCCB">%ImageFileSizeShort   %ImageDimension</font>
<FONT color="#FF8080">%xmp:exif:FNumber - %xmp:exif:ExposureTime - %xmp:exif:FocalLength</FONT>   
Last edited by andy@damroundup.com on 22 Sep 12 18:56, edited 1 time in total.
Check out our detailed DAM reviews at http://www.DAMRoundup.com
Custom designed books for publication or personal enjoyment - http://www.JingotheCat.com

mphillips
Posts: 1432
Joined: 31 May 07 12:02
Location: Parkwood,Johannesburg,South Africa

Re: Thumbnails view customization

Post by mphillips » 22 Sep 12 15:33

Quick Note

I find it usefule to paste the lines betwwen the %code to %/code on the first line of the thumbs custom info

The %imagefilesizeshort line on the second line

And the %exit on the third line

Regards

MikeP
Mike Phillips
http://www.mikeandmorag.co.za
D800, CNX2, Supreme

andy@damroundup.com
Posts: 662
Joined: 13 Apr 08 19:54
Location: Boston, MA USA

Re: Thumbnails view customization

Post by andy@damroundup.com » 22 Sep 12 18:49

Thx Mike - I should have mentioned that the whole thing can be pasted into the single line of the custom thumb info.. but probably should be broken up a bit. I really do hope the custom thumb "editor" is revised in the future - having an editor window makes writing script code so much easier... right now, I use Textpad and have to keep copy/pasting into the single lines... Oh - and a picture of what the above looks like would be nice too :) :
idi.jpg
idi.jpg (52.03 KiB) Viewed 2615 times
Having played around with the above script a bit, I do find significant delay and probably won't be using it as it currently shows... but - it is nice to highlight the additional power that the SVG icons and PSU brings to the table in terms of thumb customization. If the speed can be improved over time, this is a huge GUI winner that other DAM programs do not offer (as I've said in the past!).
Check out our detailed DAM reviews at http://www.DAMRoundup.com
Custom designed books for publication or personal enjoyment - http://www.JingotheCat.com

Hert
Posts: 15995
Joined: 13 Sep 03 7:24

Re: Thumbnails view customization

Post by Hert » 22 Sep 12 19:35

Tom,

I think you have to regenerate your thumbs. I think you're using a v5 thumbs database without previews or small previews.

Rebuild with ctrl+alt+T

Hert
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system

Tom
Posts: 360
Joined: 05 Dec 05 15:23
Location: Estonia

Re: Thumbnails view customization

Post by Tom » 23 Sep 12 9:48

Hert, you were absolutely right. I had the v5 thumbnail database, which had to be regenerated. Now it works. Thanks. Tom

EDIT: Now comes the difficult part. I have about 85000 images in the database. Is there a good way to regenerate the thumbnail database, apart from selecting all and applying Ctrl+Alt+T.

Hert
Posts: 15995
Joined: 13 Sep 03 7:24

Re: Thumbnails view customization

Post by Hert » 23 Sep 12 10:56

Tom,

Does Tools -> Build Missing Thumbnails and Previews work?

If not, and when all your images are in a single folder hierarchy then I'd suggest to open CATALOG -> By Folder. Then click the counter at the top level to display all the thumbs. Then select all (ctrl+A) and press Ctrl+Alt+T to start the update process.

If your images are spread over different drives then perhaps the CATALOG -> By State -

Hert
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system

Tom
Posts: 360
Joined: 05 Dec 05 15:23
Location: Estonia

Re: Thumbnails view customization

Post by Tom » 23 Sep 12 12:43

Hert/IDimager wrote: Does Tools -> Build Missing Thumbnails and Previews work?
Hert
Yes, it worked! Thanks!

Tom

Post Reply