Posts Tagged → Picasa
嵌入适合blog宽度的picasa图片
图片显示一定程度上决定blog的美观程度。特别是post中图片的尺寸是挑选blog程序或主题的部分决定因素。图片不能太小,看不清楚,留白太多;更不能太宽,超出post尺寸或占据sidebar区域…
所以今天一装完wordpress,就赶紧开始picasa图片嵌入的实验。使用wordpress本身图片上传工具不能解决吗?这就是使用Picasa的理由– free, big disk, and no banned basically…

OK!之前使用blogger有一些picasa的经历,就是说Picasa web仅提供四种尺寸嵌入,如右图。但今天搜索”picasa wordpress 400 800″,发现阅微堂主有提到Web Picasa API,Google实际上有更多的输出尺寸:
The following values are valid for the
thumbsizeandimgmaxquery parameters and are embeddable on a webpage. These images are available as only uncropped(u) sizes by appendinguto the size or just passing the size value without appending anything.200, 288, 320, 400, 512, 576, 640, 720, 800
于是实验了一下,果真如此,下图就是选用了“576”这个输入尺寸,正好适合wordpress这个theme的post width。改用方法就是将google提供的picasa ‘embed image’代码拷贝过来,然后修改img URL中的’s400′为’s576′或者你想要的尺寸。
上图:广东省河源市野趣沟,2008年秋