{"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 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&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[19],"tags":[],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-drupal"],"_links":{"self":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"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}]}}