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":133429,"date":"2026-09-06T18:28:05","date_gmt":"2026-09-06T17:28:05","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=133429"},"modified":"2026-09-06T18:28:10","modified_gmt":"2026-09-06T17:28:10","slug":"100-percent-free-spins-local-casino-also-offers-fortsett-a-lese-dette-for-all-of-us-people","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=133429","title":{"rendered":"100 percent free Spins Local casino Also offers fortsett \u00e5 lese dette for all of us People"},"content":{"rendered":"
\n

Articles<\/p>\n