Squarespace - disable right click
I discovered a clever way to disable right-clicking on my Squarespace site, making it harder for people to download images. With a few simple steps, you can do the same and add an extra layer of protection to your content. Plus, I’ve included a fun twist to keep things entertaining for those who try!
A bit unrelated to photography, but I was searching in vain for an easy way to prevent right-clicking on this site to discourage people from downloading images. I know there are plenty of easy ways to grab images, but I want to keep it to a minimum. Searching across various search engines and even the Squarespace site was tedious, but with a bit of help from AI, I was able to come up with a pretty cool solution to discourage right-clicking for those attempting to download images.
As a former senior-level network engineer, I still like to geek out every once in a while and puzzle through programming challenges. But this one is super simple—just wait for the surprise you’ll see in a second!
So you’ll need to navigate over to PAGES
Scroll to the bottom and choose WEBSITE TOOLS
Under Custom Code choose CODE INJECTION
In your header, paste the following code. You’ll notice I’ve also added some funny prompts that will randomize each time someone tries to right-click on my site. Mine are a bit cheesy, but I figured I’d have some fun entertaining those trying to grab my images. You can change them to however you like after pasting into Squarespace.
____________________________________________________________
<script>
document.addEventListener('contextmenu', function(event) {
event.preventDefault();
// Array of messages
var messages = [
"Ah, young grasshopper, you seek wisdom where none is offered. Some secrets must remain hidden until the time is right.",
"Whoa there, Sherlock! No behind-the-scenes access for you.",
"That’s a secret move… only I know the cheat code.",
"This isn’t the backstage pass you were hoping for.",
"If you right-click three times, a genie still won’t appear.",
"There’s nothing to see here… or is there?",
"Ah, a fellow explorer! But some secrets must remain hidden.",
"Hoping for a VIP tour? Sorry, this area is restricted.",
"Right-clicking is like pineapple on pizza… controversial!",
"Whoa! You almost found the hidden treasure. Almost.",
"Trying to peek behind the magic curtain? The magician never reveals their secrets!",
"Pay no attention to the code behind the curtain!’"
];
// Select a random message
var randomMessage = messages[Math.floor(Math.random() * messages.length)];
// Show the alert with the random message
alert(randomMessage);
});
</script>
____________________________________________________________
Choose Save and you’re all done.
One note, I did notice that right click also doesn’t work within editing a blog post, so not sure if that will be a problem, but hope this helps get you in the right direction.
Bangkok, Thailand
I recently travelled to Thailand as a group tour leader. For a few hours a day while in Bangkok I was able to step away and do some street photography.
Bangkok's Chinatown is electric, a city that never sleeps, surpassing even New York City in its relentless energy. It's a sensory overload – the scent of incense mingling with the savory aroma of grilled squid and chicken and the constant hum of scooters and Tuk Tuks filling the air. As a tour leader, I was busy assisting guests most days, but with our hotel located in Chinatown, I could not resist the call of the markets and street life to take photos.
I've always been drawn to cultural photography, fascinated by the way people live, work, and celebrate in different corners of the world. It's a privilege to witness and document these unique traditions, to capture a culture as vibrant as the Thais, through my lens. I wanted to capture this vibrant neighborhood, to document the lives of its people, and to explore the unique blend of tradition and modernity that defines Chinatown. I spent several days, stealing away a couple hours wandering the narrow streets, focusing on capturing candid moments and experimenting with slow shutter speeds to create trails of light from the passing scooters, the non-stop motion the city seems to be in.
My first stop was the super busy intersection where the Grand China Hotel and the wholesale markets meet, where I was immediately struck by the sheer number of vehicles. This photo captures a bit of how busy it is here, with an energy that seemed to pulse through the very veins of Chinatown.
Capturing the motion of the scooters
I was particularly interested in capturing the scooters that zip through Chinatown's narrow streets, the air thick with exhaust fumes and the insistent buzz of their engines as they go by. By using slow shutter speeds between 1/30th to 1/40th of a second and panning as they went by. By using this technique it captured a sense of motion and urgency that seemed to be all around me. Now, panning at these slow speeds is not really that easy. It requires a steady hand and a healthy dose of luck to keep the subject sharp while blurring the background into a ribbon of color. The slightest wobble can ruin the shot, turning the subject into the delete bin. It took countless attempts to nail the focus, timing, and composition just right, but when it works, the results are super exciting when I chimped the back of my LCD on my camera and nailed the shot. I would say about 1 of every 8 to 10 come out.
Below are 12 of my favorite photos using this technique and hopefully they tell enough of a story that they don’t need to be captioned.
The Hustle of Chinatown
Leaving the energy of the main streets behind, I ventured into the heart of the wholesale markets that are in Chinatown, where a different kind of rhythm was waiting to be photographed – the steady beat of commerce, the hum of close quarters, and the constant moving of people in an out with purchases and deliveries. Here, the wide avenues narrowed into a labyrinth alleys, lined with shops and overflowing with goods. It can be a sensory overload, a kaleidoscope of colors, textures, and sounds that pulled me in, promising a glimpse into the soul of this vibrant community.
What sets these shops apart is a sense of history, of tradition passed down through generations. These aren't just anonymous storefronts; they're family-run businesses, often crammed with decades of accumulated memories and specialized wares that you seldom find anywhere else. The air is thick with the tangible connection to Chinatown's rich past.
But more than the goods themselves, it was the faces behind the activities and hustle that truly captivated me. Below are some of my favorite images as I wandered the narrow alleyways and streets.
I love the contrast between these two couples. When I took this photo, I was initially focused on the tattooed couple, but the shot turned out even better than expected when the older couple walked into the frame. The younger woman and older gentleman seem to be exchanging glances, while the younger man looks directly at me, and the older wife strides forward with purpose, intent on reaching their destination.
Riding the Isuzu: Glimpses of Bangkok Life
Beyond the frantic energy of the main thoroughfares, Bangkok's Chinatown offers glimpses into a slower, more intimate world – a world that unfolds within the aging frames of its Isuzu buses. These relics of a bygone era, with their faded paint, rattling engines, and open-air windows, are more than just modes of transportation; they're rolling galleries, showcasing the faces and stories of everyday Bangkok life.
As a photographer, I found myself drawn to these buses, captivated by the brief moments of connection that played out as the busses went by, an outsider looking into a brief moment in time.
This is my favorite photo, the lady in red looking out the window. As a cultural photographer, I wonder what her story is? Does she have a family? Is she going to work or going home? You can never know and all you can do is wonder, yet what you do know is that she has the same desire to get somewhere.
Photographing the Isuzu buses of Bangkok's Chinatown felt like peering into peoples private space at times, each window framing a momentary glimpse into the lives of strangers. Standing on the sidewalk, I was an outsider looking in, capturing moments of contemplation, connection, and perhaps quiet exhaustion. There's an undeniable sense of voyeurism involved in this act of street photography, a feeling of briefly invading their quiet as they journey through their day.
Yet, I hope these images offer a glimpse into the shared human experience, a reminder that even amidst the chaos and anonymity of a bustling city, we are all connected by our shared journeys, our emotions, and our silent stories. Stepping back from the curb, I'm left with a profound respect for the lives that continue, moment by moment, within those passing frames.
Below are my favorite images of those on the bus.