Server IP : 85.214.239.14 / Your IP : 3.15.4.52 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/wordpress/wp-includes/blocks/gallery/ |
Upload File : |
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/gallery", "title": "Gallery", "category": "media", "allowedBlocks": [ "core/image" ], "description": "Display multiple images in a rich gallery.", "keywords": [ "images", "photos" ], "textdomain": "default", "attributes": { "images": { "type": "array", "default": [], "source": "query", "selector": ".blocks-gallery-item", "query": { "url": { "type": "string", "source": "attribute", "selector": "img", "attribute": "src" }, "fullUrl": { "type": "string", "source": "attribute", "selector": "img", "attribute": "data-full-url" }, "link": { "type": "string", "source": "attribute", "selector": "img", "attribute": "data-link" }, "alt": { "type": "string", "source": "attribute", "selector": "img", "attribute": "alt", "default": "" }, "id": { "type": "string", "source": "attribute", "selector": "img", "attribute": "data-id" }, "caption": { "type": "rich-text", "source": "rich-text", "selector": ".blocks-gallery-item__caption" } } }, "ids": { "type": "array", "items": { "type": "number" }, "default": [] }, "shortCodeTransforms": { "type": "array", "items": { "type": "object" }, "default": [] }, "columns": { "type": "number", "minimum": 1, "maximum": 8 }, "caption": { "type": "rich-text", "source": "rich-text", "selector": ".blocks-gallery-caption" }, "imageCrop": { "type": "boolean", "default": true }, "randomOrder": { "type": "boolean", "default": false }, "fixedHeight": { "type": "boolean", "default": true }, "linkTarget": { "type": "string" }, "linkTo": { "type": "string" }, "sizeSlug": { "type": "string", "default": "large" }, "allowResize": { "type": "boolean", "default": false } }, "providesContext": { "allowResize": "allowResize", "imageCrop": "imageCrop", "fixedHeight": "fixedHeight" }, "supports": { "anchor": true, "align": true, "html": false, "units": [ "px", "em", "rem", "vh", "vw" ], "spacing": { "margin": true, "padding": true, "blockGap": [ "horizontal", "vertical" ], "__experimentalSkipSerialization": [ "blockGap" ], "__experimentalDefaultControls": { "blockGap": true, "margin": false, "padding": false } }, "color": { "text": false, "background": true, "gradients": true }, "layout": { "allowSwitching": false, "allowInheriting": false, "allowEditing": false, "default": { "type": "flex" } }, "interactivity": { "clientNavigation": true } }, "editorStyle": "wp-block-gallery-editor", "style": "wp-block-gallery" }