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":155055,"date":"2026-09-11T05:05:35","date_gmt":"2026-09-11T04:05:35","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=155055"},"modified":"2026-09-11T05:05:43","modified_gmt":"2026-09-11T04:05:43","slug":"on-line-casino-united-kingdom-play-the-greatest-casino-pokerstars-mobile-gambling-games-from-the-unibet","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=155055","title":{"rendered":"On-line casino United kingdom Play the greatest casino Pokerstars mobile gambling games from the Unibet"},"content":{"rendered":"
\n

Content<\/p>\n