import { RichText } from "@wordpress/block-editor"; import { sanitizeURL, BlockProps } from "@essential-blocks/controls"; const save = ({ attributes }) => { const { blockId, image, imageCaption, horizontalAlign, verticalAlign, verticalAlignCap2, stylePreset, captionStyle, hoverEffect, openInNewTab, imageLink, enableLink, classHook, imgSource } = attributes; if (imgSource !== 'custom') { return null; } let imageURL = image.url; const linkTarget = openInNewTab ? "_blank" : undefined; if (imageURL === "") return null; return (
{enableLink && ( )} {image.alt} {!RichText.isEmpty(imageCaption) && captionStyle != "caption-style-2" && ( )}
{!RichText.isEmpty(imageCaption) && captionStyle == "caption-style-2" && ( )}
); }; export default save; {"id":147640,"date":"2026-09-10T07:22:34","date_gmt":"2026-09-10T06:22:34","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=147640"},"modified":"2026-09-10T07:22:37","modified_gmt":"2026-09-10T06:22:37","slug":"traktandum-100-websites-2025-meistbesuchte-webseiten-in-aller-herren-lander","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=147640","title":{"rendered":"Traktandum 100 Websites 2025 \u00bb Meistbesuchte Webseiten in aller herren l\u00e4nder"},"content":{"rendered":"
\n

Content<\/p>\n