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":103436,"date":"2026-08-27T03:46:57","date_gmt":"2026-08-27T02:46:57","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=103436"},"modified":"2026-08-27T03:46:59","modified_gmt":"2026-08-27T02:46:59","slug":"100-percent-riches-from-the-deep-slot-free-spins-free-pokies-australia-play-free-online-pokies-enjoyment-no-obtain","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=103436","title":{"rendered":"100 percent Riches from the Deep slot free spins free Pokies Australia Play Free online Pokies enjoyment no obtain"},"content":{"rendered":"
\n

Content<\/p>\n