Changeset 702409
- Timestamp:
- 04/23/2013 06:24:20 PM (13 years ago)
- Location:
- tagged-gallery/trunk
- Files:
-
- 2 edited
-
tg.php (modified) (1 diff)
-
tg_class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tagged-gallery/trunk/tg.php
r702080 r702409 12 12 include_once ( dirname(__FILE__) . "/tg_admin.php"); 13 13 14 wp_enqueue_script('jquery'); 15 14 16 wp_register_style( 'tg-style', plugins_url('/css/tg.css', __FILE__) ); 15 17 wp_enqueue_style( 'tg-style' ); 16 18 17 wp_enqueue_script("jquery");18 19 19 wp_register_script( 'tg-script', plugins_url( '/js/tg.js', __FILE__ ) ); 20 20 wp_enqueue_script('tg-script'); 21 22 wp_register_script( 'jqresize-script', plugins_url( '/js/jquery.resizecrop-1.0.3.js', __FILE__ ) ); 23 wp_enqueue_script('jqresize-script'); 24 25 wp_register_script( 'resize-script', plugins_url( '/js/resize.js', __FILE__ ) ); 26 wp_enqueue_script('resize-script'); 21 27 22 28 add_filter('the_content','tg_gallery'); -
tagged-gallery/trunk/tg_class.php
r701587 r702409 40 40 { 41 41 $img=substr($post->guid,strlen($server),strlen($post->guid)-strlen($server)); 42 $string="<img class=\"tagged-gallery\" src=\"/wp-content/plugins/tagged-gallery/img.php?img=".$img."&type=thumb&size=".$height."x".$width."\" data-larger=\"/wp-content/plugins/tagged-gallery/img.php?img=".$img."&size=700x700\" alt=\"".$img."\" />";43 42 43 $string="<img src=\"".$img."\" class=\"tagged-gallery\" style=\"max-width: 500px;\" data-larger=\"/wp-content/plugins/tagged-gallery/img.php?img=".$img."&size=700x700\" alt=\"".$img."\" /> "; 44 44 $sup.="<div class=\"tg-thumb\">".$string."</div>"; 45 //$sup.=$string; 45 46 } 46 47 }
Note: See TracChangeset
for help on using the changeset viewer.