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":147392,"date":"2026-09-10T05:36:28","date_gmt":"2026-09-10T04:36:28","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=147392"},"modified":"2026-09-10T05:36:36","modified_gmt":"2026-09-10T04:36:36","slug":"the-new-10-greatest-harbors-playing-and-you-will-win-in-the-serious-link-vegas-to-have-2025","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=147392","title":{"rendered":"The new 10 Greatest Harbors playing and you will Win in the serious link Vegas to have 2025"},"content":{"rendered":"
\n

Articles<\/p>\n