code: function() {
  
              // Merge user options with the default configuration
              pgwSlideshow.config = $.extend({}, defaults, options);
  
              // Setup
              setup();
  
              // Check list
              if (pgwSlideshow.config.displayList) {
                  checkList();
              }
  
              // Resize trigger
              pgwSlideshow.window.resize(function() {
                  clearTimeout(pgwSlideshow.resizeEvent);
                  pgwSlideshow.resizeEvent = setTimeout(function() {
                      setSizeClass();
  
                      var maxHeight = pgwSlideshow.plugin.find('.ps-current > ul > li.elt_' + pgwSlideshow.currentSlide + ' img').height();
                      updateHeight(maxHeight);
  
                      if (pgwSlideshow.config.displayList) {
                          checkList();
                          checkSelectedItem();
                      }
                  }, 100);
              });
  
              // Activate interval
              if (pgwSlideshow.config.autoSlide) {
                  activateInterval();
              }
  
              return true;
          }
docs: Init