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":102194,"date":"2026-08-26T23:09:32","date_gmt":"2026-08-26T22:09:32","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=102194"},"modified":"2026-08-26T23:09:33","modified_gmt":"2026-08-26T22:09:33","slug":"better-one-hundred-gambling-establishment-incentive-also-provides-within-the-2026-100-percent-put-incentives","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=102194","title":{"rendered":"Better one hundred% Gambling establishment Incentive Also provides within the 2026 100 percent Put Incentives"},"content":{"rendered":"
\n

Content<\/p>\n