Entdeckt die Möglichkeiten eurer Kamera oder eures Smartphones und verwandelt alltägliche Momente in beeindruckende Bilder! Bildaufbau, Lichtführung und euer persönlicher Stil erschaffen einzigartige Fotos. Am Ende des Halbjahres entsteht ein kreatives Gemeinschaftsprojekt – ob Magazin, Fotobuch oder etwas völlig Unerwartetes…
Leitung: Khang Nguyen und Ossei Oesterwind
Eine Anmeldung ist nicht erforderlich.
Empfohlen von 12-18 Jahren.
©Miu-Wah Lok
©Miu-Wah Lok
©Miu-Wah Lok
©Miu-Wah Lok
©Willi Bauerfeld
©Miu-Wah Lok
/** * Wrapped in an IIFE so `let`/function declarations get a fresh, isolated * scope on every execution. ACF's block editor preview re-renders (and * re-runs) this script on every edit while the DOM node id stays the * same; top-level `let`/`const` would otherwise throw * "Identifier ... has already been declared" on the second render. */ (function($) { let ready = false; let currentAspectRatio = 16 / 9;
function setAspect(newRatio) { if (ready) { if (newRatio > currentAspectRatio) { currentAspectRatio = newRatio; document.querySelector('#image-carousel-block_d2cde63b4f0e3be416f2132013a379bb .slick-list').style.aspectRatio = newRatio; } } }
function resize() { const captions = document.querySelectorAll( '#image-carousel-block_d2cde63b4f0e3be416f2132013a379bb .slick-slide:not(.slick-cloned) .image-carousel__image-caption'); let maxCaptionHeight = 0; captions.forEach(function(caption) { maxCaptionHeight = Math.max(caption.offsetHeight, maxCaptionHeight); }); document.querySelector('#image-carousel-block_d2cde63b4f0e3be416f2132013a379bb').style.paddingBottom = maxCaptionHeight + 'px'; }
$(document).ready(function() {
document.querySelectorAll('#image-carousel-block_d2cde63b4f0e3be416f2132013a379bb .image-carousel__image').forEach(function(img) { function handleImageLoad() { setAspect(img.width / img.height); } if (img.complete && img.naturalWidth) { handleImageLoad(); } else { img.addEventListener('load', handleImageLoad); } });
$('#image-carousel-block_d2cde63b4f0e3be416f2132013a379bb .carousel__slider').on('init', function(slick) { resize(); ready = true; this.parentElement.style.opacity = 1; }); $('#image-carousel-block_d2cde63b4f0e3be416f2132013a379bb .carousel__slider').slick({ infinite: true, variableWidth: true, slidesToShow: 1, slidesToScroll: 1, autoplay: true, autoplaySpeed: 3000, // centerMode: true, dots: false, arrows: true, prevArrow: '', nextArrow: '', responsive: [{ breakpoint: 800, settings: { arrows: false } }] }); $('#image-carousel-block_d2cde63b4f0e3be416f2132013a379bb .carousel__slider').slickLightbox({ src: function(element, info) { return element.querySelector('img').src; }, itemSelector: '.image-carousel__slide', caption: function(element, info) { return element.querySelector('figcaption').innerHTML; }, layouts: { closeButton: '', }, slick: { arrows: false } }); $('#image-carousel-block_d2cde63b4f0e3be416f2132013a379bb .carousel__slider').slickLightbox().on({ 'show.slickLightbox': function() { $('#image-carousel-block_d2cde63b4f0e3be416f2132013a379bb .carousel__slider').slick('slickSetOption', 'autoplay', false, true); }, 'hide.slickLightbox': function() { $('#image-carousel-block_d2cde63b4f0e3be416f2132013a379bb .carousel__slider').slick('slickSetOption', 'autoplay', true, true); } });
});
// Each re-render of the block registers a new resize handler; drop // the previous one for this block id so they don't pile up. window.__dortmunderuImageCarouselResize = window.__dortmunderuImageCarouselResize || {}; const previousResize = window.__dortmunderuImageCarouselResize['image-carousel-block_d2cde63b4f0e3be416f2132013a379bb']; if (previousResize) { window.removeEventListener('resize', previousResize); } window.__dortmunderuImageCarouselResize['image-carousel-block_d2cde63b4f0e3be416f2132013a379bb'] = resize; window.addEventListener('resize', resize); })(jQuery);
Dortmunder U
Fotografie: Blickwinkel
Tickets
Sold by: dortmunder-u.de
Eintritt frei
Go to dortmunder-u.de ↗You will be redirected to the partner's website in a new tab.
Entdeckt die Möglichkeiten eurer Kamera oder eures Smartphones und verwandelt alltägliche Momente in beeindruckende Bilder! Bildaufbau, Lichtführung und euer persönlicher Stil erschaffen einzigartige Fotos. Am Ende des Halbjahres entsteht ein kreatives Gemeinschaftsprojekt – ob Magazin, Fotobuch oder etwas völlig Unerwartetes…
About the event
Comments
Log in to add a comment
Log in
No comments yet
Be the first to comment