{"id":93,"date":"2011-02-21T04:55:09","date_gmt":"2011-02-21T04:55:09","guid":{"rendered":"http:\/\/www.evermoredevnotes.com\/?p=93"},"modified":"2011-02-21T04:55:09","modified_gmt":"2011-02-21T04:55:09","slug":"drupal-imageapi-imagecache-and-why-readme-txt-is-important","status":"publish","type":"post","link":"https:\/\/www.evermoretechnologies.com\/blog\/2011\/02\/drupal-imageapi-imagecache-and-why-readme-txt-is-important\/","title":{"rendered":"Drupal ImageAPI, ImageCache and why README.txt is important"},"content":{"rendered":"<p>I just spent 20min. troubleshooting some ImageCache settings in drupal that could have been easily solved by paying more attention to readme.txt files.<\/p>\n<p>I created an few imagecache profiles.  One for my thumbnail images, and another for the full sized images.  I wanted scaling and cropping on them so they all turned out the same size for a nice gallery.  Everything seemed good except my images weren&#8217;t being created.  I got a 500 error from the server every time I tried to preview one.<\/p>\n<p>The error was a simple one, you need to turn on an image processor in Site Building -> Modules.  There are two provided out of the box, GD2 and imagemajik.  Once I checked the GD2 box, everything worked.  I like simple fixes, but I hate wasted time. . .  The readme file is pretty clear about how to make it work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just spent 20min. troubleshooting some ImageCache settings in drupal that could have been easily solved by paying more attention to readme.txt files. I created an few imagecache profiles. One&#8230; <a href=\"https:\/\/www.evermoretechnologies.com\/blog\/2011\/02\/drupal-imageapi-imagecache-and-why-readme-txt-is-important\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[],"_links":{"self":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/93"}],"collection":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}