More testing of the script, pretty painless process. Once the html opens in BBEdit I preview and add alt text. Probably should improve script to respect existing alt text.
I wonder too about the copyright implications. I see this as a way to point interesting photos and their real homes. Would anyone object to this on copyright/respect grounds. Also wonder about the about of space it takes on micro.blog timeline, is it too much. I am thumbnailing at 120px square for that reason.
Cloudimage.io seems to be working out ok.
@johnjohnston I added fetching the existing
alt
text (or truncating from post text, if there’s noalt
, and then a last-ditch generic string in case of an image-only post) to my script last weekend. The fetching stuff is specific to Micro.blog posts, but you might find the truncation/last-ditch-text routine useful (I only truncate when I grab the post content for thealt
, not for author-crafted ones).Regarding copyright, I also thought about that; my thought is that since you’re 1) not hosting the other image, but linking to it where originally found, 2) making an effort to claim it is not yours (e.g., the title ”Caught my eye on micro.blog”) and 3) using only a small portion/small size/low quality version of the image as part of the linking process, we should be OK under fair-use grounds. (I am not a copyright lawyer 😉 )
@smokey thanks. I’ll borrow those ideas for the alt text😉 You are a good enough lawyer for me, that is my feeling too.