Changeset 37252
- Timestamp:
- 04/22/10 01:57:09 (3 years ago)
- Location:
- platform/tdiary
- Files:
-
- 3 modified
-
doc/ja/plugin/image_detail.txt (modified) (1 diff)
-
plugin/image_detail.rb (modified) (4 diffs)
-
plugin/image_gps.rb (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/tdiary/doc/ja/plugin/image_detail.txt
r37251 r37252 11 11 ファーストリリース 12 12 revision 1.1: 13 スマートフォン対応、その他13 スマートフォン対応、その他 14 14 15 15 インストール -
platform/tdiary/plugin/image_detail.rb
r37251 r37252 16 16 * スマートフォン対応 17 17 * Google Maps API Keyが設定されていない場合はStaticMAPを生成しない 18 * リンク先をGoogle Mapに統一18 * リンク先をGoogle Mapsに統一 19 19 2009-06-03 kp 20 20 * first version … … 42 42 if size then 43 43 if size.kind_of?(Array) 44 size = " width=\"#{size[0]}\" height=\"#{size[1]}\"" 45 44 size = %Q[ width="#{size[0]}" height="#{size[1]}"] 46 45 else 47 size = " width=\"#{size.to_i}\""46 size = %Q[ width="#{size.to_i}"] 48 47 end 49 48 else 50 49 size = "" 51 50 end 52 51 53 52 exif = ExifParser.new("#{@image_dir}/#{image}".untaint) rescue nil 54 53 55 54 google = "http://maps.google.co.jp" 56 55 … … 93 92 img = %Q[<img class="#{place}" src="#{@image_url}/#{image}" alt="#{alt}" title="#{alt}" #{size}>] 94 93 img_t = %Q[<img class="#{place}" src="#{@image_url}/#{image_t}" alt="#{alt}" title="#{alt}" #{size}>] 95 94 96 95 url = '' 97 96 if @conf.mobile_agent? … … 132 131 @conf['image_gps.google_maps_api_key'] = @cgi.params['image_gps.google_maps_api_key'][0] 133 132 end 134 133 135 134 <<-HTML 136 135 <p> -
platform/tdiary/plugin/image_gps.rb
r37250 r37252 14 14 =begin ChangeLog 15 15 2010-04-21 kp 16 * リンク先を googleに統一16 * リンク先をGoogleに統一 17 17 2009-06-01 kp 18 18 * モバイルモード時も世界測地系とする 19 19 2009-05-26 kp 20 20 * walk.eznavi.jpの場合のクエリを修正 21 * リンク先を google mapに21 * リンク先をGoogle Mapsに 22 22 * wgs2tkyを使用しない 23 23 2008-05-22 kp … … 26 26 * いろいろ変更 27 27 2006-03-28 kp 28 * cooperation with ALPSLAB clip 28 * cooperation with ALPSLAB clip! 29 29 2006-03-27 kp 30 30 * use exifparser 31 31 2005-07-25 kp 32 * correct link urlwhen access with mobile.32 * correct link URL when access with mobile. 33 33 2005-07-19 kp 34 34 * MapDatum macth to WGS84 35 35 2005-05-25 kp 36 * correct url link to mapion.36 * correct URL link to Mapion. 37 37 2005-05-24 kp 38 38 * create link to http://walk.eznavi.jp when access with mobile. … … 61 61 if size then 62 62 if size.kind_of?(Array) 63 size = " width=\"#{size[0]}\" height=\"#{size[1]}\"" 64 63 size = %Q[ width="#{size[0]}" height="#{size[1]}"] 65 64 else 66 size = " width=\"#{size.to_i}\""65 size = %Q[ width="#{size.to_i}"] 67 66 end 68 67 else 69 68 size = "" 70 69 end 71 70 72 71 #m_map = 'http://m.google.com/maps' 73 72 map = 'http://maps.google.co.jp' 74 73 75 74 exif = ExifParser.new("#{@image_dir}/#{image}".untaint) rescue nil 76 75 77 76 datum = nil 78 77 79 78 if exif 80 79 if @conf['image_gps.add_info'] … … 97 96 end 98 97 99 unless lat.nil? 98 unless lat.nil? 100 99 lat,lon = tky2wgs(lat,lon) if datum == 'TOKYO' 101 100 end … … 120 119 @conf['image_gps.add_info'] = @cgi.params['image_gps.add_info'][0] 121 120 end 122 121 123 122 <<-HTML 124 123 <p>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)