This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# when I write new blog posts I usually have a temporary folder called new_post on my desktop | |
# that I place images I want to upload to amazon s3 (which is distributed as CF) and then | |
# get the appropriate URLs to put the images in my blog post | |
# I usually save files as some_slug.png and some_slug_1200.png | |
# with the latter being a larger version (1200px wide) of the first. | |
# a typical upload will include 20 files. 2 versions of some (sm and lg), and some orphans | |
# so this compares filenames and if it detects a larger version of a file, | |
# it links the the smaller image to the larger image (i use fancyzoom on my site) | |
# if not, it just links to the image |
NewerOlder