{"id":42,"date":"2011-02-16T01:01:53","date_gmt":"2011-02-16T06:01:53","guid":{"rendered":"\/blog\/?p=42"},"modified":"2011-02-27T04:00:35","modified_gmt":"2011-02-27T09:00:35","slug":"replacing-imageindex-with-my-own-software","status":"publish","type":"post","link":"https:\/\/www.rfdm.com\/blog\/?p=42","title":{"rendered":"Replacing &#8216;imageindex&#8217; with my own software"},"content":{"rendered":"<p>I&#8217;ve grown somewhat tired of &#8216;imageindex&#8217;.  It doesn&#8217;t do what I want without modifying my ~\/.imageindexrc file each time, which is annoying.  I modified it to permit reading in a separate configuration, but the perl code is spaghetti and I don&#8217;t like the structure of the index file (tables&#8230; ugh!).  I also want output that fits into my site&#8217;s style.<\/p>\n<p>There are options other than imageindex, but I haven&#8217;t found any that work exactly as I&#8217;d like.  It&#8217;s particularly important that I be able to easily bring in galleries from my old web site, and I can&#8217;t do that with Gallery3 or any of the freely available generators I&#8217;ve found while also fitting into my site&#8217;s style.<\/p>\n<p>I&#8217;m almost done with a replacement written in C++, using the GraphicsMagick library.  It&#8217;s smart enough to avoid unnecessary image regeneration, and automatically recurses into subdirectories to generate &#8216;medium&#8217; images, thumbnails and montages.  It also generates an index.php with all of the thumbnails and subdirectory montages as links.  I need to decide how I want to display the medium images (via a slide file or via javascript) and how I want to link to the full-size image from the medium image.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve grown somewhat tired of &#8216;imageindex&#8217;. It doesn&#8217;t do what I want without modifying my ~\/.imageindexrc file each time, which is annoying. I modified it to permit reading in a separate configuration, but the perl code is spaghetti and I don&#8217;t like the structure of the index file (tables&#8230; ugh!). I also want output that &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.rfdm.com\/blog\/?p=42\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Replacing &#8216;imageindex&#8217; with my own software&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,13],"tags":[28,23,24,25,26,27],"class_list":["post-42","post","type-post","status-publish","format-standard","hentry","category-software-development","category-web-development","tag-album","tag-c","tag-graphicsmagick","tag-imageindex","tag-mcphotoweb","tag-photo"],"_links":{"self":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42"}],"version-history":[{"count":6,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":60,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions\/60"}],"wp:attachment":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}