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":645358,"date":"2026-11-19T04:07:52","date_gmt":"2026-11-19T04:07:52","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=645358"},"modified":"2026-11-19T04:07:52","modified_gmt":"2026-11-19T04:07:52","slug":"%ce%ba%cf%81%ce%b9%cf%84%ce%b9%ce%ba%ce%ae-%ce%b3%ce%b9%ce%b1-%cf%84%ce%bf-jammin-jars-harbors-force-gambling-%ce%ba%ce%b1%cf%85%cf%84%cf%8c-%ce%ae-%ce%bc%ce%ae%cf%80%cf%89%cf%82-%cf%8c%cf%87","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=645358","title":{"rendered":"\u039a\u03c1\u03b9\u03c4\u03b9\u03ba\u03ae \u03b3\u03b9\u03b1 \u03c4\u03bf Jammin' Jars Harbors: Force Gambling - \u039a\u03b1\u03c5\u03c4\u03cc \u03ae \u03bc\u03ae\u03c0\u03c9\u03c2 \u03cc\u03c7\u03b9;"},"content":{"rendered":"
\n

\u0399\u03c3\u03c4\u03bf\u03bb\u03cc\u03b3\u03b9\u03b1<\/p>\n