bmp皮卡丘
⑴ 求640×480的16色的動漫bmp圖片女生
⑵ 如何在lnmp上部署Thinkphp
ThinkPHP的四種URL模式:0(普通模式);1(PATHINFO模式);2(REWRITE模式);3(兼容模式)
nginx需要PATHINFO模式,但需要更改nginx配置文件讓其支持PATHINFO模式。
系統環境:
系統:CentOS-6.4-x86_64
web伺服器:nginx1.2.7
PHP版本:PHP5.3.17
資料庫版本:MySQL5.5.28
一、安裝LNMP1.0一鍵安裝包:
http://lnmp.org/install.html
按照以上版本安裝環境
二、修改配置文件
1.修改php配置文件php.ini,將其中cgi.fix_pathinfo = 0,值改為1
重啟php-fpm
2.ssh里執行:
cat > /usr/local/nginx/conf/pathinfo.conf << 'EOF'
set $real_script_name $fastcgi_script_name;
if ($fastcgi_script_name ~ "(.+?\.php)(/.*)") {
set $real_script_name $1;
set $path_info $2;
}
fastcgi_param SCRIPT_FILENAME $document_root$real_script_name;
fastcgi_param SCRIPT_NAME $real_script_name;
fastcgi_param PATH_INFO $path_info;
EOF
再將虛擬主機配置文件里的location ~ .*\.(php|php5)?$ 替換為:location ~ .*\.php
再在include fcgi.conf; 下面添加一行include pathinfo.conf;
重啟nginx
完整的虛擬主機配置文件如下:
server
{
listen 80;
server_name www.lnmp.org;
index index.html index.htm index.php;
root /home/wwwroot/lnmp;
location ~ .*\.php
{
try_files $uri =404;
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fcgi.conf;
include pathinfo.conf;
}
location /status {
stub_status on;
access_log off;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
access_log /home/wwwlogs/lnmp.log lnmp;
}
將ThinkPHP的URL模式設置成PATHINFO。
ThinkPHP就可以在nginx中運行了。
⑶ jpg圖片導進InDesign里是沒有背景的透明圖片,怎麼做呢
樓主的問題相當奇怪。。。如果你想要沒背景的透明底圖片,就絕對不可能使用JPG格式,JPG本身就不支持透明,只有PNG或者TIFF這類的,即支持透明,存儲質量也較好。
另外Indesign一般出的是PDF格式,為什麼要導出成JPG???
不知道樓主為何糾結於JPG格式。
如果樓主一定要做:
1。就是利用1樓的方法,現在PS中摳圖,然後直接保存成PSD格式(透明底)到Indesign中去導入;或者保存成PNG,TIFF等較高質量的文件,到Indesign中導入。
2。現在Indesign中置入JPG圖片,然後選中圖片,使用菜單「對象/剪切路徑/選項/探測邊緣」,就可以在Indesign中直接去背景。但是這種方法只適合背景顏色比較簡單的圖片。