I came across this post, but it seems like there have been updates in the past 4 years regarding how thumbnails are generated for Blogger posts. I've attempted various methods, but so far none of them have been successful. If anyone could assist me in finding a solution to my issue, I would greatly appreciate it.
My goal is to adjust the thumbnail size of my Blogger posts that are grabbed by the RSS feed. Currently, the feed is using the s72-c (72x72) sized version of my posts, and I aim to replace these with the s1600 version.
In theory, this should be a straightforward task, but I'm having trouble making it work.
I have tried:
<script type='text/javascript'>
$img = el.find("thumbnail").attr("url"); //Get thumnail image from rss feed
$newText = $img.replace(/\/s72-c/, /\/s1600/); //replace /s72-c with s1600
console.log($newText);
</script>
and
<script type='text/javascript'>
$(document).ready(function() {$(".post-thumb").attr("src", function(i, src) {return src.replace( "s72-c", "s1600" );});});
</script>
An alternate solution could involve modifying the s72-c part in my Zapier code before it creates the notification post on Discord, but resolving the issue at its root would be preferable.