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":104126,"date":"2026-08-27T06:24:42","date_gmt":"2026-08-27T05:24:42","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=104126"},"modified":"2026-08-27T06:24:47","modified_gmt":"2026-08-27T05:24:47","slug":"happiest-xmas-forest-slot-opinion-twist-orient-express-rtp-80-free-spins-free-of-charge-right-here","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=104126","title":{"rendered":"Happiest Xmas Forest Slot Opinion Twist Orient Express Rtp 80 free spins free of charge Right here"},"content":{"rendered":"
\n

Content<\/p>\n