Zum Inhalt springen

pmk_slimbox mit wt_gallery verwenden

Erstellt am 6. Februar 2008 · 2 Antworten · letzte Antwort am 28. Januar 2011

Tags: Frage

mariohaehni ·

Hallo

Ich versuche für die wt_agllery den Lighbox-Effekt mit Hilfe der Extension pmk_slimbox herzustellen. Bisher ohne Erfolg. Also die pmk-Slimbox bei normalen Bildern funktioniert. Auch wt_gallery funktioniert für sich. Einfach das Zusammenspiel will nicht.

Hier mein TS:

Constants:

tx_wtgallery {
  config_singlepage {
    # Show single picture width px (No Default value)
    width = 490

    # Single picture with a special quality – only for JPG (Default 75)
    quality = 70 
    
    # Show category mode if available (Default 0)
    # example: 0 off, 1 on
    showcat = 0
  }
  
 config_list {
    # PID of the page where the plugin with single view is installed (if empty plugin use same PID)
    single_site =

    # Width of the thumbnails in px (Default 100)
    width = 70

    # Ratio of the thumbnails (No Default value)
    # example: 1:1 quadratic, 16:9 kino format, empty for no special ratio
    ratio = 1:1

    # Number of Cols (Default 3)
    cols = 6

    # Number of Rows (Default 3)
    rows = 100

    # Quality of thumbnails – only for JPG (Default 75)
    quality =

    # Show category mode if available (Default 1)
    # example: 0 off, 1 on
    showcat = 0
   }

  config_popup {
    # (De)Activate Popup (Default 1)
    
    # example: 0 for off, 1 for on, wallpaper for showing orignal picture, imagelightbox for using kj_imagelightbox2
    show = pmk_slimbox

    # Popup width (Default 800)
    width = 750

    # Popup height (Default 600)
    height = 450

    # Popup quality – only for JPG (Default 75)
    quality = 80
  }
}

Setup:

plugin.tx_wtgallery_pi1 {

  config_list {
    single_site = {$tx_wtgallery.config_list.single_site}
    list_width = {$tx_wtgallery.config_list.width}
    list_ratio = {$tx_wtgallery.config_list.ratio}
    width_number = {$tx_wtgallery.config_list.cols}
    height_number = {$tx_wtgallery.config_list.rows}
    list_quality = {$tx_wtgallery.config_list.quality}
    showcat = {$tx_wtgallery.config_list.showcat}
  }
  
  config_single {
    list_site = {$tx_wtgallery.config_singlepage.list_site}
    show_comments = {$tx_wtgallery.config_singlepage.show_comments}
    single_ratio = {$tx_wtgallery.config_singlepage.ratio}
    single_width = {$tx_wtgallery.config_singlepage.width}
    single_quality = {$tx_wtgallery.config_singlepage.quality}
    showcat = {$tx_wtgallery.config_singlepage.showcat}
}
  config_popup {
    show_popup = {$tx_wtgallery.config_popup.show}
    popup_width = {$tx_wtgallery.config_popup.width}
    popup_height = {$tx_wtgallery.config_popup.height}
    quality = {$tx_wtgallery.config_popup.quality}
  }

}

Für tx_wtgallery.config_popup.show habe ich bereits sämtliche Schreibweissen von pmk_slimbox durchgetestet. Passiert aber nichts.

Für Hilfe wäre ich sehr dankbar.

Gruss mario

mchenzi ·

Falls jemand noch interessiert dran ist. Einfahc pkslimbox installieren und zum laufen bringen , dann im Setup des templates die wt_gallery so verändern.

plugin.tx_wtgallery_pi1 {
list {
image = IMAGE
image {
imageLinkWrap.typolink {
parameter.cObject = IMG_RESOURCE
parameter.cObject.file.import.field = picture
parameter.cObject.file.maxW = 800
parameter.cObject.file.maxH = 800
ATagParams = rel="lightbox[sb{field:uid}]"
}
}
}
}