{"id":3665,"date":"2007-12-08T18:35:20","date_gmt":"2007-12-08T08:35:20","guid":{"rendered":"http:\/\/www.rommelpascual.com\/wordpress\/20071208\/wpg2-work-around"},"modified":"2007-12-08T18:35:20","modified_gmt":"2007-12-08T08:35:20","slug":"wpg2-work-around","status":"publish","type":"post","link":"https:\/\/www.rommelpascual.com\/index.php\/20071208\/wpg2-work-around\/","title":{"rendered":"WPG2 Work Around"},"content":{"rendered":"<div class=\"twttr_buttons\"><div class=\"twttr_twitter\">\n\t\t\t\t\t<a href=\"http:\/\/twitter.com\/share?text=WPG2+Work+Around\" class=\"twitter-share-button\" data-via=\"artipax\" data-hashtags=\"\"  data-size=\"default\" data-url=\"https:\/\/www.rommelpascual.com\/index.php\/20071208\/wpg2-work-around\/\"  data-related=\"\" target=\"_blank\">Tweet<\/a>\n\t\t\t\t<\/div><\/div><p>Finally got a random picture from the Gallery2 appearing in the side block. Here&#8217;s the workaround.<\/p>\n<ol>\n<li>Activate the ImageFrame plugin in Gallery2. This is required so that you can setup the sideblock in the WPG2 plugin in WordPress.<\/li>\n<li>After you set-up the SideBlock &#8211; you must deactivate or Uninstall the ImageFrame plugin in Gallery2 &#8211; otherwise it will complain about a certain template being not found and prints debug messages. There is a bug in ImageFrame and still not fixed. The downside of doing this is that all the frames in the main Gallery2 site will also disappear. For now &#8211; I&#8217;ll live with that.<\/li>\n<li>You can also use the WPG2 Image Tag in the blog now.<\/li>\n<\/ol>\n<p>Actually &#8211; choosing a WPG2 optimised theme like the <a href=\"https:\/\/diekretzschmars.de\/dkret-theme\/\" target=\"_blank\">dKret2<\/a> for WordPress adds a random image by default. But I notice that dKret2 does not respect the image alignment set by non-wpg2 tagged images. (See the <a href=\"https:\/\/www.rommelpascual.com\/wordpress\/20071201\/my-first-blog\">Nielsen Community Day<\/a> blog &#8211; this was written with the image aligned right but was forced to align left in this theme).<\/p>\n<p>The annoying part is having to continually activate\/deactivate the ImageFrame to set anything in the WPG2 settings. This will be the case until the the plugin is fixed on a release. For now &#8211; I&#8217;ve given up trying to get an embedded Gallery going. The &#8220;Gallery&#8221; in the navigation bar is also not working even after I have editted the .htaccess to redirect to my <a href=\"https:\/\/www.rommelpascual.com\/gallery2\" target=\"_blank\">https:\/\/www.rommelpascual.com\/gallery2<\/a> &#8211; another headache as this means WP is not doing any URL re-write properly. Sometimes, a WPG2 link will also appear in the navigation bar. This will happen only if you have set G2 to appear within WP in the plugin settings. But &#8211; since I&#8217;m using a Carbon Theme in G2, the result of embedding this theme into WP does not look well. I need a WPG2 friendly G2 theme &#8211; which I have not been able to find.<\/p>\n<p>In conclusion, WPG2 3.0.2 is still a bit buggy to be useful. Unfortunately, it&#8217;s my first install and I can not really rollback to WPG2 2.1. For now &#8211; I&#8217;ll wait for the next release.<\/p>\n<blockquote><p>22 April 2008: WPG2 and WordPress are now working well in this site. These are the release levels:<\/p>\n<ol>\n<li>WordPress 2.5<\/li>\n<li>Gallery2 2.2.4 core 1.2.0.6<\/li>\n<li>WPG2 3.0.2<\/li>\n<\/ol>\n<p>Surprisingly, even the Lightbox that comes with WPG2 plays well with SWF Scripts which has dogged my site when browsing using the Internet explorer.\n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Finally got a random picture from the Gallery2 appearing in the side block. Here&#8217;s the workaround. Activate the ImageFrame plugin in Gallery2. This is required so that you can setup the sideblock in the WPG2 plugin in WordPress. After you set-up the SideBlock &#8211; you must deactivate or Uninstall the ImageFrame plugin in Gallery2 &#8211;&#8230; <a href=\"https:\/\/www.rommelpascual.com\/index.php\/20071208\/wpg2-work-around\/\" class=\"read-more\">Read More &rsaquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[16],"tags":[],"class_list":["post-3665","post","type-post","status-publish","format-standard","hentry","category-evaluation"],"_links":{"self":[{"href":"https:\/\/www.rommelpascual.com\/index.php\/wp-json\/wp\/v2\/posts\/3665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rommelpascual.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rommelpascual.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rommelpascual.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rommelpascual.com\/index.php\/wp-json\/wp\/v2\/comments?post=3665"}],"version-history":[{"count":0,"href":"https:\/\/www.rommelpascual.com\/index.php\/wp-json\/wp\/v2\/posts\/3665\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rommelpascual.com\/index.php\/wp-json\/wp\/v2\/media?parent=3665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rommelpascual.com\/index.php\/wp-json\/wp\/v2\/categories?post=3665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rommelpascual.com\/index.php\/wp-json\/wp\/v2\/tags?post=3665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}