{"id":27,"date":"2005-03-16T02:52:17","date_gmt":"2005-03-16T05:52:17","guid":{"rendered":"http:\/\/www.sysop.ca\/?p=27"},"modified":"2018-10-01T06:30:26","modified_gmt":"2018-10-01T13:30:26","slug":"php-gallery","status":"publish","type":"post","link":"http:\/\/www.sysop.ca\/?p=27","title":{"rendered":"PHP Gallery"},"content":{"rendered":"<p>I know <a href=\"http:\/\/gallery.sf.net\">php gallery<\/a> has been around forever but I just added it to subaruclub.ca this weekend to handle all the media and I&#8217;m VERY impressed. I&#8217;ve always used <a href=\"http:\/\/ids.sf.net\">IDS<\/a> and it&#8217;s worked well for me but due to the fact that it&#8217;s perl\/cgi and it resizes on the fly it tends to be quite a resource hog. <\/p>\n<p>Gallery&#8217;s upload tools are quite impressive as well. Also the fact that I was able to include the php headers and footers we already had to &#8216;nest&#8217; gallery was a bonus. The gallery looks almost native to the rest of the site!<\/p>\n<p>One item I noted, ImageMagick lacks support for Jpeg and PNG files by default in FreeBSD. To compile in support for these you need to do the following:<\/p>\n<p>vi \/etc\/make.conf and add<br \/>\nWITH_JPEG=yes<br \/>\nWITH_TIFF=yes<br \/>\nWITH_PNG=yes<br \/>\nSave and exit<br \/>\ncd \/usr\/ports\/graphics\/ImageMagick\/<br \/>\nmake deinstall clean<br \/>\nmake reinstall clean<\/p>\n<p>Once that&#8217;s complete Gallery shouldn&#8217;t complain.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I know php gallery has been around forever but I just added it to subaruclub.ca this weekend to handle all the media and I&#8217;m VERY impressed. I&#8217;ve always used IDS and it&#8217;s worked well for me but due to the fact that it&#8217;s perl\/cgi and it resizes on the fly it tends to be quite &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.sysop.ca\/?p=27\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;PHP Gallery&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[1,6],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-general","category-the-internet"],"_links":{"self":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27"}],"version-history":[{"count":1,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":480,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=\/wp\/v2\/posts\/27\/revisions\/480"}],"wp:attachment":[{"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sysop.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}