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":106655,"date":"2026-08-28T04:17:59","date_gmt":"2026-08-28T03:17:59","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=106655"},"modified":"2026-08-28T04:18:02","modified_gmt":"2026-08-28T03:18:02","slug":"100-totally-free-spins-no-what-is-casinos4u-casino-deposit-incentives-a-hundred-totally-free-bonus-revolves","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=106655","title":{"rendered":"100 Totally free Spins No what is casinos4u casino deposit Incentives a hundred Totally free Bonus Revolves"},"content":{"rendered":"
\n

Content<\/p>\n