随遇而安

2009年1月7日 秋色#2

归类于: 图博 — ghorse@20:07

拍摄于禾木往哈纳斯途中 [lang_en]Autum Color#2[/lang_en][lang_cn]秋色#2[/lang_cn]

2009年1月7日 秋色#1

归类于: 图博 — ghorse@8:07

拍摄于禾木往哈纳斯途中 [lang_en]Autum Color#1[/lang_en][lang_cn]秋色#1[/lang_cn]

2009年1月6日 收到宝丽来POGO

归类于: 个人 — ghorse@20:59

今天很高兴,因为收到了JASMIN寄给我的宝丽来POGO,POGO是宝丽来用ZINK打印技术的一个可携照片打印机,它的大小和一包香烟差不多:


kfl_1845

(阅读全文……)

2009年1月6日 禾木之晨

归类于: 图博 — ghorse@20:07

拍摄于禾木 [lang_en]Morning at Hemu[/lang_en][lang_cn]禾木之晨[/lang_cn]

2009年1月5日 云之下

归类于: 图博 — ghorse@22:33

拍摄于禾木。 [lang_en]Under the clouds[/lang_en][lang_cn]云之下[/lang_cn]

点击观看EXIF数据。

2009年1月5日 抱歉,此文章并无中文版本。

归类于: 网站纪事与消息 — ghorse@16:15

[SinglePic not found]</p><a class=”highslide”  href=”http://ghorse.org/wordpress/wp-content/plugins/nextgen-gallery/admin/showmeta.php?id=’.$imageID.’” onclick=”return hs.htmlExpand(this, {objectType: \’iframe\’, wrapperClassName: \’exif\’} )” >点击观看EXIF数据。’;
// copied from wp-mail.php/
$ddate_U = time(); //get current unit time stamp add by KF
$ddate_U = $ddate_U + ($post_count*12*3600); //set post 12 hours apart starting 12 hours from now
$post_count = $post_count+1;
$post_date = gmdate(’Y-m-d H:i:s’, $ddate_U + $time_difference);
$post_date_gmt = gmdate(’Y-m-d H:i:s’, $ddate_U);

// copied from wp-mail.php/
$p2post = compact(’post_content’,'post_title’,'post_date’,'post_date_gmt’,'post_author’,'post_category’,'post_status’,'post_type’,'tags_input’);
$post_ID = wp_insert_post($p2post);
if ( is_wp_error( $post_ID ) )    echo “\n” . $post_ID->get_error_message();
}
nggGallery::show_message(__(’Photo to Post Finished ‘,”nggallery”));
}
break;
case ‘import_meta’:
// Import Metadata

The new version of nextgen gallery have merged its tag handling with the wordpress tags database, so the method of retrieving tags related to an image is changed as indicated in the red lines of codes above.  Other than that, the photo2post code remains the same.


In manage-images.php, the following line of code is added to triggering the photo2post function right after the “move_to” action line:


<option value=”copy_to” ><?php _e(”Copy to…”,’nggallery’)?></option>
<option value=”move_to”><?php _e(”Move to…”,’nggallery’)?></option>
<option value=”photo2post”><?php _e(”Photo2Post”,’nggallery’)?></option>       

The ablum display is still not working with language switcher plugin and the modifcation in the following post is still needed:


http://ghorse.org/wordpress/2008/10/fix-the-nextgen-gallery-album-display-with-language-switcher/


2009年1月5日 沿河一景#4

归类于: 图博 — ghorse@10:33

拍摄于禾木。 [lang_en]Along the river#4[/lang_en][lang_cn]沿河一景#4[/lang_cn]

点击观看EXIF数据。

2009年1月4日 白桦林#11

归类于: 图博 — ghorse@22:33

拍摄于禾木。 [lang_en]In a woods#11[/lang_en][lang_cn]白桦林#11[/lang_cn]

点击观看EXIF数据。

下一页 »

Blog powered by WordPress