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":162804,"date":"2026-09-12T20:36:40","date_gmt":"2026-09-12T19:36:40","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=162804"},"modified":"2026-09-12T20:36:41","modified_gmt":"2026-09-12T19:36:41","slug":"greatest-payout-grand-ivy-web-based-casinos-2026-higher-spending-rtp-web-sites-to-possess-september","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=162804","title":{"rendered":"Greatest Payout grand ivy Web based casinos 2026: Higher Spending RTP Web sites to possess September"},"content":{"rendered":"
\n

Posts<\/p>\n