4 Replies Latest reply on Jul 8, 2008 8:22 AM by Günter Schenk

    thumbnails - dynamic path

    Level 1
      Im trying to set the path for a Show Thumbnail behavior where the end of the path needs to come from URL value. In the second line below, the zzzz needs to be the valu from a URL id= value (index2.php?id=4)

      // Show Dynamic Thumbnail
      $objDynamicThumb1 = new tNG_DynamicThumbnail("../", "KT_thumbnail1");
      $objDynamicThumb1->setFolder("../images/upload/zzzz/");
      $objDynamicThumb1->setRenameRule("{Recordset1.name}");
      $objDynamicThumb1->setResize(150, 50, true);
      $objDynamicThumb1->setWatermark(false);
      $objDynamicThumb1->setPopupSize(600, 600, false);
      $objDynamicThumb1->setPopupNavigation(false);
      $objDynamicThumb1->setPopupWatermark(false);

      thanks,
      nick