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 && (
)}

{!RichText.isEmpty(imageCaption) &&
captionStyle != "caption-style-2" && (
)}
{!RichText.isEmpty(imageCaption) &&
captionStyle == "caption-style-2" && (
)}
);
};
export default save;
{"id":5690,"date":"2025-09-20T11:30:24","date_gmt":"2025-09-20T10:30:24","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=5690"},"modified":"2025-10-21T13:34:15","modified_gmt":"2025-10-21T12:34:15","slug":"finest-online-casino-invite-perk-a-comprehensive-guide","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=5690","title":{"rendered":"Finest Online Casino Invite Perk: A Comprehensive Guide"},"content":{"rendered":"
Invite to the HighFlyBet<\/a> globe of online gambling enterprises, where awesome video games, big wins, and exciting incentives await you. If you're brand-new to the online gaming scene, among the initial points you'll encounter is the gambling establishment welcome bonus. This article will give you with a thorough