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":154289,"date":"2026-09-11T02:44:57","date_gmt":"2026-09-11T01:44:57","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=154289"},"modified":"2026-09-11T02:45:02","modified_gmt":"2026-09-11T01:45:02","slug":"33-%cf%80%ce%b9%ce%bf-%ce%b1%cf%83%cf%84%ce%b5%ce%af%ce%b5%cf%82-%cf%80%ce%b5%cf%81%ce%b9%ce%b3%cf%81%ce%b1%cf%86%ce%ad%cf%82-%cf%83%cf%87%ce%b5%cf%84%ce%b9%ce%ba%ce%ac-%ce%bc%ce%b5-%cf%84%ce%b7%ce%bd","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=154289","title":{"rendered":"33 \u03c0\u03b9\u03bf \u03b1\u03c3\u03c4\u03b5\u03af\u03b5\u03c2 \u03c0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ad\u03c2 \u03c3\u03c7\u03b5\u03c4\u03b9\u03ba\u03ac \u03bc\u03b5 \u03c4\u03b7\u03bd \u03bf\u03bc\u03ac\u03b4\u03b1 \u03c4\u03b7\u03c2 \u03bc\u03b1\u03bc\u03ac\u03c2 \u03c0\u03bf\u03c5 \u03c3\u03af\u03b3\u03bf\u03c5\u03c1\u03b1 \u03b8\u03b1 \u03c3\u03c0\u03ac\u03c3\u03b5\u03b9\u03c2 \u03b1\u03ba\u03cc\u03bc\u03b1"},"content":{"rendered":"
\n

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