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":154879,"date":"2026-09-11T04:38:54","date_gmt":"2026-09-11T03:38:54","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=154879"},"modified":"2026-09-11T04:38:55","modified_gmt":"2026-09-11T03:38:55","slug":"thunderstruck-2-7th-heaven-slot-mega-moolah-position-remark-2026-100-percent-free-gamble-demo","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=154879","title":{"rendered":"Thunderstruck 2 7th heaven slot Mega Moolah Position Remark 2026 100 percent free Gamble Demo"},"content":{"rendered":"
\n

Content<\/p>\n