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":167686,"date":"2026-09-15T00:59:13","date_gmt":"2026-09-14T23:59:13","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=167686"},"modified":"2026-09-15T00:59:13","modified_gmt":"2026-09-14T23:59:13","slug":"no-deposit-extra-gambling-enterprises-2026-totally-free-revolves-100-percent-free-dollars","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=167686","title":{"rendered":"No-deposit Extra Gambling enterprises 2026: Totally free Revolves & 100 percent free Dollars"},"content":{"rendered":"
\n

Articles<\/p>\n