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":97517,"date":"2026-08-24T08:06:20","date_gmt":"2026-08-24T07:06:20","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=97517"},"modified":"2026-08-24T08:06:23","modified_gmt":"2026-08-24T07:06:23","slug":"lifeless-otherwise-real-time-2-demo-enjoy-totally-casino-magic-portals-free-harbors-at-the-great-com","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=97517","title":{"rendered":"Lifeless Otherwise Real time 2 Demo Enjoy Totally casino magic portals free Harbors at the Great com"},"content":{"rendered":"
\n

Content<\/p>\n