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":607357,"date":"2026-11-14T04:45:49","date_gmt":"2026-11-14T04:45:49","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=607357"},"modified":"2026-11-14T04:45:49","modified_gmt":"2026-11-14T04:45:49","slug":"finest-31-%e0%b8%ab%e0%b8%a1%e0%b8%b8%e0%b8%99%e0%b8%9f%e0%b8%a3%e0%b8%b5-100-%e0%b9%80%e0%b8%9b%e0%b8%ad%e0%b8%a3%e0%b9%8c%e0%b9%80%e0%b8%8b%e0%b9%87%e0%b8%99%e0%b8%95%e0%b9%8c-%e0%b9%84%e0%b8%a1","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=607357","title":{"rendered":"Finest 31 \u0e2b\u0e21\u0e38\u0e19\u0e1f\u0e23\u0e35 100 \u0e40\u0e1b\u0e2d\u0e23\u0e4c\u0e40\u0e0b\u0e47\u0e19\u0e15\u0e4c \u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e1d\u0e32\u0e01\u0e40\u0e07\u0e34\u0e19\u0e43\u0e19\u0e2a\u0e2b\u0e23\u0e32\u0e0a\u0e2d\u0e32\u0e13\u0e32\u0e08\u0e31\u0e01\u0e23 \u0e23\u0e31\u0e1a\u0e1c\u0e25\u0e15\u0e2d\u0e1a\u0e41\u0e17\u0e19\u0e15\u0e48\u0e2d\u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07"},"content":{"rendered":"
\n

\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21<\/p>\n