站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
建站程序
开发
服务器
办公软件
开发教程
服务器教程
软件使用教程
运营教程
热门电子书
WordPress教程
宝塔面板教程
CSS教程
Shopify教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
Gallery:模块:picasa
”
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
Sunzz1985
(
讨论
|
贡献
)
2008年6月12日 (四) 10:32的版本
(新页面: = Panorama Module = Adds a java applet for a scrollable display of wide (panorama) images. == Usage == * Install the module and configure it in site admin. * ''Use applet to display wide...)
(差异) ←上一版本 |
最后版本
(
差异
) |
下一版本→
(
差异
)
跳转至:
导航
、
搜索
警告:您正在编辑的是本页面的旧版本。
如果您发布该更改,该版本后的所有更改都会丢失。
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
= Panorama Module = Adds a java applet for a scrollable display of wide (panorama) images. == Usage == * Install the module and configure it in site admin. * ''Use applet to display wide images'' - Option to show / hide the "Panorama" option in "Edit Photo" -> "Photo" * ''Add "view panorama" option in item actions for wide images'' - Option to automatically show an item action link for wide images to view a photo in the panorama viewer. Wide is defined as: image width must be larger than the configured panorama width AND the ratio of width to height must be larger than 0.6. * Enable / disable the panorama viewer applet for each photo in Edit Photo -> Photo. [[Category:Gallery 2:Modules]]=Picasa Module= ==Description== This module lets you import albums from Picasa 2 into Gallery 2. It will keep the order, the captions and the names. ==Features== Adds Picasa 2 xml import functionality ==Usage== *Exporting From Picasa (Also see: [[Gallery:How_to_Add_Items#How_to_Add_Items_from_Picasa_2|How to Add Items from Picasa]] To export from Picasa you right click an album and click on "Make a Webpage" (or you choose "Folder/Export as Webpage or even ctrl-w)" from the menu), from there you select the sizes, and the export folder location. In the next window you need to choose "XML Code", and off it goes. Then you navigate to the folder you just chose and beam that up on your Gallery Server. Or you can directly try using the new "Tools>Experimental>Publish via FTP..." function in Picasa. This uses the same export function as "Make a Webpage", but lets you then choose/configure an FTP account where Picasa will directly upload the folder. This eliminates the need for a manual upload using a separate FTP client. *Importing Into Gallery 2 (From Add Item) The new feature to this module is that any user can import files from Picasa by simply clicking on "Add Item". A Picasa 2-Tab will appear where a local ZIP file can be selected. That ZIP file has to contain a picasa export (index.xml being in the root of the archive). The user also can select how picture titles, summaries and descriptions are assigned. *Importing into Gallery 2 (From Site Admin) Once you have activated the module you get a new entry "Picasa 2" in the Import section of your Administration menu. If you click on that it will let you select the local path to the Picasa export directory which should be stored locally (there will be upload support in the future). You also select the album you want to import your album into. ''Valid local paths are relative folder paths to your Gallery 2 installation, end with a slash and don't include any file information (no need to point to the xml-file itself). Example: "../upload/myexportedalbum/" would point to the just uploaded folder "myexportedalbum" in the parent folder "upload" that is on the same level as your Gallery 2 install.'' Thereafter it should do everything by itself and report back to you. ==Requested Features== It would be nice if the Site Admin version also allowed you to choose how captions were assigned. [http://feeds.feedburner.com/~r/blogspot/Dcni/~3/258635000/add-your-own-buttons-to-picasa-upload.html| Integration with Picasa API] ==Hacks== If you do not enter a caption Picassa will automatically copy the itemName into the itemCaption field. Personally if I don't enter a caption on a photo, I would prefer it remain un-captioned. To prevent captions from being duplicates of the itemName simply modify the code as described below: Edit '''GALLERYROOT/modules/picasa/classes/Picasa2DataParser.class''' at line 211. '''Delete''': $albumArray['images'][$i]['caption'] = $imageArray[$i]['itemCaption']; and '''Replace''' with: if ($imageArray[$i]['itemName'] == $imageArray[$i]['itemCaption']){ $albumArray['images'][$i]['caption'] == <nowiki>''</nowiki>; } else { $albumArray['images'][$i]['caption'] = $imageArray[$i]['itemCaption']; } ==Bugs== Currently there are no known issues for this module. ==Notes== [[Category:Gallery 2:Modules]] The module doesn't like "&" in the captions of exported pictures. This is not a bug since Picasa's the one generating invalid XML.
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)