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":639181,"date":"2026-11-18T15:38:57","date_gmt":"2026-11-18T15:38:57","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=639181"},"modified":"2026-11-18T15:38:57","modified_gmt":"2026-11-18T15:38:57","slug":"%e0%b8%a3%e0%b8%b5%e0%b8%a7%e0%b8%b4%e0%b8%a7%e0%b8%84%e0%b8%b2%e0%b8%aa%e0%b8%b4%e0%b9%82%e0%b8%99-golden-tiger-%e0%b8%9f%e0%b8%a3%e0%b8%b5%e0%b8%aa%e0%b8%9b%e0%b8%b4%e0%b8%99-100-%e0%b8%84%e0%b8%a3","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=639181","title":{"rendered":"\u0e23\u0e35\u0e27\u0e34\u0e27\u0e04\u0e32\u0e2a\u0e34\u0e42\u0e19 Golden Tiger: \u0e1f\u0e23\u0e35\u0e2a\u0e1b\u0e34\u0e19 100 \u0e04\u0e23\u0e31\u0e49\u0e07 \u0e41\u0e25\u0e30\u0e42\u0e1a\u0e19\u0e31\u0e2a 1500"},"content":{"rendered":"
\n

\u0e42\u0e1e\u0e2a\u0e15\u0e4c<\/p>\n