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":146812,"date":"2026-09-10T00:50:48","date_gmt":"2026-09-09T23:50:48","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=146812"},"modified":"2026-09-10T00:50:50","modified_gmt":"2026-09-09T23:50:50","slug":"9-face-masks-from-flame-demonstration-enjoy-totally-free-ports-in-is-wheel-of-fortune-free-the-higher-com","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=146812","title":{"rendered":"9 Face masks From Flame Demonstration Enjoy Totally free Ports in is wheel of fortune free the Higher com"},"content":{"rendered":"
\n

Posts<\/p>\n