Difference between revisions of "Image Settings"

From GeeklogWiki
Jump to: navigation, search
m (Reverted edit of BestWeb, changed back to last version by Tony)
 
Line 51: Line 51:
 
|}
 
|}
 
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]]
 
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]]
[http://www.591dy.com 电影]
 
[http://www.591dy.com 免费电影]
 
[http://www.591dy.com 电影下载]
 
[http://www.591dy.com 在线电影]
 
[http://www.591dy.com 影视]
 
[http://www.591dy.com 免费电影下载]
 
 
[http://google.365kc.com 成人用品]
 
[http://001.google.365kc.com 木业]
 
[http://002.google.365kc.com 安全门]
 
[http://003.google.365kc.com 半导体]
 
[http://004.google.365kc.com 包装设计]
 
[http://005.google.365kc.com 包装机]
 
[http://006.google.365kc.com 保险丝]
 
[http://007.google.365kc.com 报警器]
 
[http://008.google.365kc.com 编程器]
 
[http://009.google.365kc.com 编辑机]
 
[http://010.google.365kc.com 编码器]
 
[http://011.google.365kc.com 通信电源]
 
[http://012.google.365kc.com 塑料造粒机]
 
[http://013.google.365kc.com 拓展]
 
[http://014.google.365kc.com 拓展培训]
 
[http://016.google.365kc.com 多媒体教学]
 
[http://017.google.365kc.com 电子监考]
 
[http://018.google.365kc.com 精品课堂]
 
 
[http://100.google.591dy.com 名人字画] 
 
[http://099.google.591dy.com 激光打印机] 
 
[http://098.google.591dy.com 织带] 
 
[http://097.google.591dy.com 金卡]
 
[http://096.google.591dy.com 家居装修] 
 
[http://095.google.591dy.com 家庭装修] 
 
[http://094.google.591dy.com 室内装修] 
 
[http://093.google.591dy.com 家居装饰]
 
[http://092.google.591dy.com 防盗]     
 
[http://091.google.591dy.com 试管婴儿] 
 
[http://090.google.591dy.com 不孕]     
 
[http://089.google.591dy.com 汽车装饰] 
 
[http://088.google.591dy.com 柴油发电机]
 
[http://087.google.591dy.com 办公用品] 
 
[http://086.google.591dy.com 减速机]   
 
[http://085.google.591dy.com 不孕不育] 
 
[http://084.google.591dy.com 发电机]   
 
[http://083.google.591dy.com 摇床]   
 
[http://082.google.591dy.com 复膜用纸]
 
[http://082.google.591dy.com 礼品包装纸]
 
[http://082.google.591dy.com 打字纸]
 
[http://082.google.591dy.com 防油纸]
 
[http://082.google.591dy.com 三明治纸]
 
[http://082.google.591dy.com 邮封纸]
 
[http://081.google.591dy.com 淋浴房]
 
 
[http://097.google.591dy.com 金卡]     
 
[http://096.google.591dy.com 家居装修] 
 
[http://095.google.591dy.com 家庭装修] 
 
[http://094.google.591dy.com 室内装修] 
 
[http://093.google.591dy.com 家居装饰] 
 
[http://092.google.591dy.com 防盗]     
 
[http://091.google.591dy.com 试管婴儿] 
 
[http://090.google.591dy.com 不孕]     
 
[http://089.google.591dy.com 汽车装饰] 
 
[http://088.google.591dy.com 柴油发电机]
 
[http://087.google.591dy.com 办公用品] 
 
[http://086.google.591dy.com 减速机]   
 
[http://085.google.591dy.com 不孕不育] 
 
[http://084.google.591dy.com 发电机]   
 
[http://083.google.591dy.com 摇床]   
 
[http://082.google.591dy.com 复膜用纸]
 
[http://082.google.591dy.com 礼品包装纸]
 
[http://082.google.591dy.com 打字纸]
 
[http://082.google.591dy.com 防油纸]
 
[http://082.google.591dy.com 三明治纸]
 
[http://082.google.591dy.com 邮封纸]
 
[http://081.google.591dy.com 淋浴房]
 
 
[http://077.google.591dy.com 猫粮]
 
[http://076.google.591dy.com 模具]
 
[http://072.google.591dy.com 洁净技术]
 
[http://070.google.591dy.com 无尘室]
 
[http://063.google.591dy.com 空气过滤器]
 
[http://062.google.591dy.com 狩猎]
 
[http://054.google.591dy.com 药物流产]
 
[http://053.google.591dy.com 钛板]
 
[http://052.google.591dy.com 冷却塔]
 
[http://051.google.591dy.com 挖掘机]
 
[http://050.google.591dy.com 搅拌器]
 
[http://049.google.591dy.com 球磨机]
 
[http://048.google.591dy.com 离心机]
 
[http://047.google.591dy.com 会计师事务所]
 
[http://046.google.591dy.com 标签打印机]
 
[http://045.google.591dy.com 吸顶灯]
 
[http://044.google.591dy.com 反光材料]
 
[http://043.google.591dy.com 强直性脊柱炎]
 
[http://042.google.591dy.com 自动门]
 
[http://041.google.591dy.com 钢结构]
 
[http://040.google.591dy.com 尿毒症]
 
[http://039.google.591dy.com 化学清洗]
 
[http://038.google.591dy.com 工业清洗]
 
[http://037.google.591dy.com 电视墙]
 
[http://036.google.591dy.com 加密狗]
 
[http://035.google.591dy.com 过滤器]
 
[http://034.google.591dy.com 艾滋病]
 
[http://033.google.591dy.com 梅毒]
 
[http://032.google.591dy.com 尖锐湿疣]
 
[http://031.google.591dy.com 淋病]
 
[http://030.google.591dy.com 性病]
 
[http://029.google.591dy.com 电子白板]
 
[http://028.google.591dy.com 升降机]
 
[http://027.google.591dy.com 脚手架]
 
[http://026.google.591dy.com 高压水枪]
 
[http://025.google.591dy.com 吸脂]
 
[http://024.google.591dy.com 洗涤设备]
 
[http://023.google.591dy.com 桑拿设备]
 
[http://022.google.591dy.com 加湿器]
 
[http://021.google.591dy.com 防盗门]
 
[http://020.google.591dy.com 保暖内衣]
 
[http://019.google.591dy.com 防护服]
 
[http://018.google.591dy.com 商铺招租]
 
[http://017.google.591dy.com 户外广告]
 
[http://016.google.591dy.com 保温材料]
 
[http://015.google.591dy.com 防火材料]
 
[http://014.google.591dy.com 涂料]
 
[http://013.google.591dy.com 无痛流产]
 
[http://012.google.591dy.com 油漆]
 
[http://011.google.591dy.com 拓展训练]
 
[http://011.google.591dy.com 拓展训练]
 
[http://011.google.591dy.com 拓展训练]
 
[http://010.google.591dy.com 婚庆公司]
 
[http://009.google.591dy.com 旗袍]
 
[http://008.google.591dy.com 婚纱]
 
[http://007.google.591dy.com 管道疏通]
 
[http://006.google.591dy.com 婚纱摄影]
 
 
[http://005.google.591dy.com 家政]
 
[http://005.google.591dy.com 家政服务]
 
[http://005.google.591dy.com 家政服务公司]
 
[http://005.google.591dy.com 保姆]
 
[http://005.google.591dy.com 钟点工]
 
[http://005.google.591dy.com 小时工]
 
 
[http://004.google.591dy.com 汽车坐垫 ]
 
[http://004.google.591dy.com 汽车坐垫代理]
 
[http://004.google.591dy.com 汽车坐垫销售]
 
[http://004.google.591dy.com 汽车坐垫生产]
 
[http://004.google.591dy.com 北京汽车坐垫]
 
 
[http://003.google.591dy.com 白癜风]
 
[http://003.google.591dy.com 白癜风专家]
 
[http://003.google.591dy.com 白癜风医院]
 
[http://003.google.591dy.com 白癜风治疗]
 
[http://003.google.591dy.com 白癜风药品]
 
[http://003.google.591dy.com 白癜风信息]
 
 
[http://001.google.591dy.com  美容仪器]
 
[http://001.google.591dy.com  美容设备]
 
 
[http://002.google.591dy.com  空调清洗]
 
[http://002.google.591dy.com  中央空调清洗]
 
[http://002.google.591dy.com  清洗空调]
 
[http://002.google.591dy.com  清洗中央空调]
 
 
[http://google.591dy.com/banjgs/  搬家公司]
 
[http://google.591dy.com/zqj/  造桥机]
 
[http://google.591dy.com/zhykt/  中央空调]
 
[http://google.591dy.com/mkwr/  麦克维尔]
 
[http://google.591dy.com/guandsht/  管道疏通]
 
[http://google.591dy.com/guandsht/  疏通管道]
 
[http://google.591dy.com/nihd/  霓虹灯]
 
[http://google.591dy.com/weishjj/  卫生洁具]
 
[http://google.591dy.com/youlshb/  游乐设备]
 
[http://google.591dy.com/rujq/  乳胶漆]
 
[http://google.591dy.com/sugmch/  塑钢门窗]
 
[http://google.591dy.com/cich/  CI策划]
 
[http://google.591dy.com/sirzht/  私人侦探]
 
[http://google.591dy.com/keshml/  可视门铃]
 
[http://google.591dy.com/lvshshws/  律师事务所]
 
[http://google.591dy.com/lvshshws/  驾校]
 
[http://google.591dy.com/lvshshws/  北京驾校]
 
[http://google.591dy.com/zhouch/  轴承]
 
[http://google.591dy.com/yeshy/  夜视仪]
 
[http://google.591dy.com/gaoyqxj/  高压清洗机]
 
[http://google.591dy.com/tielbzh/  铁路标准]
 
[http://google.591dy.com/tielgf/  铁路工法]
 
[http://google.591dy.com/jiaqj/  架桥机]
 
[http://www.starpioneer.com/  网站推广]
 
[http://google.591dy.com/ 快餐]
 
[http://google.591dy.com/ 订餐]
 
[http://google.591dy.com/yinshjx/ 印刷机械]
 
[http://google.591dy.com/zhengxmr/ 整形美容]
 
[http://google.591dy.com/tangnb/ 糖尿病]
 
[http://google.591dy.com/gaoxy/ 高血压]
 
[http://google.591dy.com/jianc/ 建材]
 
[http://google.591dy.com/bianyq/ 变压器]
 
[http://google.591dy.com/jiaohb/ 胶合板]
 
[http://google.591dy.com/reshq/ 热水器]
 
[http://google.591dy.com/lousht/ 楼市图]
 
[http://google.591dy.com/ershch/ 二手车]
 
[http://google.591dy.com/anfshb/ 安防设备]
 
[http://google.591dy.com/jidq/ 继电器]
 
[http://google.591dy.com/chuangq/ 传感器]
 
[http://google.591dy.com/duijj/ 对讲机]
 
[http://google.591dy.com/chongwshp/ 宠物食品]
 
[http://google.591dy.com/maol/ 猫粮]
 
[http://google.591dy.com/goul/ 狗粮]
 

Latest revision as of 01:11, 10 December 2004

Geeklog uses a flexible system for managing and manipulating images that are used in user profiles, articles and possibly in plugins. Geeklog administrators have the choice of using Imagemagick, NetPBM and GD. We've found that for ease of support NetPBM is the better package but which one you use will depend on what is installed on your system. For those in hosted environments you should ask your host which one (if any) of the image packages they have installed.

Configuring the image subsystem is easy, simply tell Geeklog which library you want to use and then configure how you want Geeklog to handle images. The following table gives a description of all the image related settings.

Variable Default Value Description
image_lib (empty string) Set this to either 'imagemagick', 'netpbm', or 'gdlib' if images should be resized during upload. Leave as if you don't want images to be resized or if you don't have those packages available.
path_to_mogrify (commented out) If you chose 'imagemagick' for $_CONF['image_lib'] above, then this should hold the complete path to the mogrify binary (from the ImageMagick package), e.g. '/usr/bin/mogrify'.

You will need a fairly recent version of ImageMagick for this to work (version 5.4.9 or newer is recommended).

path_to_netpbm (commented out) If you chose 'netpbm' for $_CONF['image_lib'] above, then this should hold the complete path to the directory where the binaries from the netpbm package are kept, e.g. '/usr/bin/netpbm/'. Note that the path must end in a slash.

Precompiled binaries of the netpbm package for various platforms can be downloaded from the Homepage of the Gallery project.

keep_unscaled_image 0 Set this to 1 if you want Geeklog to keep the original, unscaled images after upload. The smaller image will then be used as a thumbnail and will link to the original image. Note that this may use a lot of disk space (depending on the size of your images).
max_image_width 300 Max. width of an image in pixels. If it exceeds this, it is either rejected or resized (depending on the setting of $_CONF['image_lib'] above).
max_image_height 300 Max. height of an image in pixels. If it exceeds this, it is either rejected or resized (depending on the setting of $_CONF['image_lib'] above).
max_image_size 1048576 (equals 1 MB) Max. size of an image in bytes. If it exceeds this, it is either rejected or resized (depending on the setting of $_CONF['image_lib'] above).
max_photo_width 96 Max. width of a user photo in pixels. If it exceeds this, it is either rejected or resized (depending on the setting of $_CONF['image_lib'] above).
max_photo_height 96 Max. height of a user photo in pixels. If it exceeds this, it is either rejected or resized (depending on the setting of $_CONF['image_lib'] above).
max_photo_size 65536 (equals 64 KB) Max. size of a user photo in bytes. If it exceeds this, it is either rejected or resized (depending on the setting of $_CONF['image_lib'] above).
Back to The Geeklog Configuration File