ص㣺
1. ȥԭMG2ûCSS, ֻݽṹ, ȫSablogXģں. Admin汣MG2ģ
2. ȥ˼ MG2  Bug.
3. ȥMG2 Slideshow õƬ, ΪõƬҪ޸SablogX Head, Ϊ˱ڰװ, ȡ.
4. SablogXԴıϰ߱д,  MG2дһSablogXһ action=album
 
MG2ɫ
1. ܹȡƬExifϢƩȦ
2. Phpȫģʽ
3. Url
4. ܹ졣
5. ֧ģȸԻģʽ
6. Ҫݿ
7. ֧޼
8. ֧ܹ
9. ֻ֧õƬʽ
10. webʽϴftpĿ¼ͼƬ
11. ֧ͼƬԼ۵Email֪ͨ
 
ʾַ http://www.huang8.net/?action=album
صַ http://www.huang8.net/?action=show&id=17

 

װ裺

1. ѹ mg2forsablogx1.6.rar.

2. ļ includes, lang, skin, pictures ļmg2_install.php, admin.php  yourblog ĸĿ¼, album.php ļʹĸĿ¼. ROOTblogĸĿ¼ôĿ¼ʾ,
               |-includes        
               |-lang
               |-skin
    ROOT-|-pictures
               |-mg2_install.php
               |-admin.php
               |- ...             |- ...
               |-templates -|- default            |
                                   |- yourtemplate -|- ...
                                                             |- album.php
                                                             |

3. blogĿ¼  index.php (ROOT/index.php)
     ҵ   (647-660,660Ҳǵ5)
            ------------------------------------------------------------------------------------------------
              // 
              elseif ($_GET['action'] == 'links') {
                  ... ...
                  $pagefile = 'links';
              }    
            ------------------------------------------------------------------------------------------------                             
     ֮
            ------------------------------------------------------------------------------------------------
              elseif ($_GET['action'] == 'album') {
                  $pagefile = 'album';
              }
            ------------------------------------------------------------------------------------------------

4. ʹ index.php (ROOT/templates/yourtemplate/index.php)
     ҵ   (ǵ8)  
            ------------------------------------------------------------------------------------------------
              } elseif (in_array($action, array('archives', 'tagslist', 'comments', 'trackbacks', 'search', 'links'))) {
            ------------------------------------------------------------------------------------------------     
     ĳ    
            ------------------------------------------------------------------------------------------------
              } elseif (in_array($action, array('album', 'archives', 'tagslist', 'comments', 'trackbacks', 'search', 'links'))) {
            ------------------------------------------------------------------------------------------------
 
     ҵ   (38-42)
            ------------------------------------------------------------------------------------------------
              <li{$current_page_item[index]}><a href="./">Home</a></li>              
              <li{$current_page_item[archives]}><a href="./?action=archives">Archives</a></li>
              <li{$current_page_item[search]}><a href="./?action=search">Search</a></li>
              <li{$current_page_item[tagslist]}><a href="./?action=tagslist">Tags</a></li>
              <li{$current_page_item[comments]}><a href="./?action=comments">Comments</a></li>
            ------------------------------------------------------------------------------------------------
     еҪλ    
            ------------------------------------------------------------------------------------------------
              <li{$current_page_item[album]}><a href="./?action=album">Album</a></li>
            ------------------------------------------------------------------------------------------------   
     磬 Album  Home  Archives ֮䣬޸Ľ
            ------------------------------------------------------------------------------------------------
              <li{$current_page_item[index]}><a href="./">Home</a></li>   
              <li{$current_page_item[album]}><a href="./?action=album">Album</a></li>           
              <li{$current_page_item[archives]}><a href="./?action=archives">Archives</a></li>
              <li{$current_page_item[search]}><a href="./?action=search">Search</a></li>
              <li{$current_page_item[tagslist]}><a href="./?action=tagslist">Tags</a></li>
              <li{$current_page_item[comments]}><a href="./?action=comments">Comments</a></li>
            ------------------------------------------------------------------------------------------------
    
5.  ʱblog, ͻAlbumĿ, AlbumĿְװ, 谲װ.


ͼƬڣ
http://www.yourdomain.com/admin.php 뱣
   
ע:
1. Ҫ MG 趨ͼƬ ͼ Ĺ,Ȼʹ߱. ѾĬΪ 700,ֵҵSablogXﲻ.
2. ûϴͼƬСķṩпƣһ2MB.
3. ϴͼƬƲַܺƲظ,Ȼᱻһ.
4. ڹ, ͼƬıĽ,ļƵĵһλַ,ַ, "-", "(" .
                                                        
һ汾ƻ MySQLݿ֧
                                                               