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":611391,"date":"2026-11-14T16:52:56","date_gmt":"2026-11-14T16:52:56","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=611391"},"modified":"2026-11-14T16:53:08","modified_gmt":"2026-11-14T16:53:08","slug":"%cf%80%ce%b5%ce%bd%ce%ae%ce%bd%cf%84%ce%b1-100-%ce%b4%cf%89%cf%81%ce%b5%ce%ac%ce%bd-%cf%80%ce%b5%cf%81%ce%b9%cf%83%cf%84%cf%81%ce%bf%cf%86%ce%ad%cf%82-250-%ce%b5%cf%80%ce%b9%cf%80%ce%bb%ce%ad%ce%bf","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=611391","title":{"rendered":"\u03a0\u03b5\u03bd\u03ae\u03bd\u03c4\u03b1 100% \u03b4\u03c9\u03c1\u03b5\u03ac\u03bd \u03c0\u03b5\u03c1\u03b9\u03c3\u03c4\u03c1\u03bf\u03c6\u03ad\u03c2, 250% \u03b5\u03c0\u03b9\u03c0\u03bb\u03ad\u03bf\u03bd, \u03b5\u03ba\u03b1\u03c4\u03cc \u03b4\u03bf\u03bb\u03ac\u03c1\u03b9\u03b1 \u03b4\u03c9\u03c1\u03b5\u03ac\u03bd \u03c4\u03c3\u03b9\u03c0 \u03b5\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03c4\u03ae \u03c3\u03b5 \u03cc\u03bb\u03bf \u03c4\u03bf\u03bd \u03ba\u03cc\u03c3\u03bc\u03bf 7s \u03a4\u03b1 \u03c0\u03b9\u03bf \u03b4\u03b7\u03bc\u03bf\u03c6\u03b9\u03bb\u03ae \u03bb\u03b9\u03bc\u03ac\u03bd\u03b9\u03b1"},"content":{"rendered":"
\n

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