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":127885,"date":"2026-09-04T07:20:40","date_gmt":"2026-09-04T06:20:40","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=127885"},"modified":"2026-09-04T07:20:44","modified_gmt":"2026-09-04T06:20:44","slug":"spend-because-of-the-cellular-casino-pokerstars-100-free-spins-casino-best-2023-pay-by-the-mobile-casinos","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=127885","title":{"rendered":"Spend because of the Cellular casino Pokerstars 100 free spins Casino- Best 2023 Pay by the Mobile Casinos"},"content":{"rendered":"
\n

Articles<\/p>\n