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":606861,"date":"2026-11-14T02:27:58","date_gmt":"2026-11-14T02:27:58","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=606861"},"modified":"2026-11-14T02:28:01","modified_gmt":"2026-11-14T02:28:01","slug":"the-way-we-rated-typically-the-most-popular-united-kingdom-casinos-on-the-internet","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=606861","title":{"rendered":"The way we Rated typically the most popular United kingdom Casinos on the internet"},"content":{"rendered":"

18+. New, ID-affirmed people just. Make a deposit of at least ?10 to obtain 100 even more spins worthy of ?0.ten per. Complete T&Cs use.<\/p>\n