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":611201,"date":"2026-11-14T16:34:38","date_gmt":"2026-11-14T16:34:38","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=611201"},"modified":"2026-11-14T16:35:30","modified_gmt":"2026-11-14T16:35:30","slug":"%ce%bf%ce%b4%ce%b7%ce%b3%cf%8c%cf%82-%cf%84%cf%89%ce%bd-online-%ce%ba%ce%bf%cf%85%ce%bb%ce%bf%cf%87%ce%ad%cf%81%ce%b7%ce%b4%cf%89%ce%bd-aztec-amatic-marketplaces","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=611201","title":{"rendered":"\u039f\u03b4\u03b7\u03b3\u03cc\u03c2 \u03c4\u03c9\u03bd online \u03ba\u03bf\u03c5\u03bb\u03bf\u03c7\u03ad\u03c1\u03b7\u03b4\u03c9\u03bd Aztec Amatic Marketplaces"},"content":{"rendered":"
\n

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