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":645526,"date":"2026-11-19T05:24:41","date_gmt":"2026-11-19T05:24:41","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=645526"},"modified":"2026-11-19T05:24:41","modified_gmt":"2026-11-19T05:24:41","slug":"%ce%b5%cf%80%ce%af%ce%b4%ce%b5%ce%b9%ce%be%ce%b7-%cf%86%ce%b5%cf%83%cf%84%ce%b9%ce%b2%ce%ac%ce%bb-%cf%87%ce%bf%cf%81%ce%bf%cf%8d-%ce%bb%ce%b9%ce%bf%ce%bd%cf%84%ce%b1%cf%81%ce%b9%cf%8e%ce%bd-%ce%b1","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=645526","title":{"rendered":"\u0395\u03c0\u03af\u03b4\u03b5\u03b9\u03be\u03b7 \u03a6\u03b5\u03c3\u03c4\u03b9\u03b2\u03ac\u03bb \u03a7\u03bf\u03c1\u03bf\u03cd \u039b\u03b9\u03bf\u03bd\u03c4\u03b1\u03c1\u03b9\u03ce\u03bd \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd Genesis Gambling"},"content":{"rendered":"
\n

\u0386\u03c1\u03b8\u03c1\u03b1<\/p>\n