PageSourceSearch

https://www.foundry-planet.com/_assets/a73f75663fadc3015ba7c601f2dcafa9/js/image-uploader-init.js?1779449161

js foundry-planet.com collected 2026-10-02 05:13:07 UTC 956 bytes, 30 lines download raw bytes

1$(function () {
2    // https://github.com/christianbayer/image-uploader
3
4    let imageUploaderData = {
5        label: 'Dateien hier ablegen zum Hochladen',
6        imagesInputName: 'photos',
7        preloadedInputName: 'old',
8        maxSize: 10 * 1024 * 1024,
9        maxFiles: 3
10    };
11
12    if ($('#preloadedimagesjson').length > 0) {
13        let preloadedimages = JSON.parse($('#preloadedimagesjson').val());
14        if (preloadedimages) {
15            imageUploaderData.preloaded = preloadedimages;
16        } 
17    }
18
19    $('.input-images').imageUploader(imageUploaderData);
20
21    $('#supplierspostsubmitbutton').click(function (e) { 
22        e.preventDefault();
23        if ($('.image-uploader').hasClass('has-files')) {
24            $('.input-images-label').removeClass('error');
25            $('#supplierspostsubmitform').submit();
26        } else {
27            $('.input-images-label').addClass('error');
28        }
29    });
30});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.