Gallery: 模块:geturls:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
 
第1行: 第1行:
= Formatted URLs =
= 格式化的URL(Formatted URL) =
Show BBCode / HTML formatted URLs
显示BBCode/HTML格式的URL。


==Description==
==描述==
Show BBCode / HTML formatted URLs for your images and albums to fascilitate posting images in forums and other websites
为你的图片和相册显示BBCode/HTML格式的URL以便在论坛和其他网站中发表图片。


'''Authors:''' Kirill, shocksll. Additions by: valiant, whodah
'''作者:''' Kirill, shocksll。由valiant,whodah增补。


==Features==
==特点==
* BBCode and HTML pre-formatted URLs
* BBCode和HTML预格式化的URL。
* Direct links to images
* 图片的直接链接。
* Image links (small thumbnail linking to the fullsize image)
* 图片链接(链接到全尺寸图片的小缩略图)。
* Optionally show links also in album view under each thumbnail
* 可选地在相册视图中各缩略图下显示链接。
* Optionally show links as a block under the image in photo or under the list of thumbnails on album pages
* 可选地在相片中在图片下或在相册页面上的缩略图列表之下将链接显示为区块。
* Guest mode: Only list links that are also accessible by anonymous users, even if you're logged in
* 游客模式:仅显示匿名用户可访问的链接,甚至登录后也如此。
* Control with ''[geturls] View Formatted URls'' which user groups should see the formatted URLs
* 控制''[geturls] View Formatted URls'',用户应可以看见格式化的URL。
* Optionally, also show the itemId, useful if you use embedded G2 with image tags to include G2 images in your website
* 可选地,也显示itemId;如果你使用嵌入的G2的图片标签将G2图片包含在你的网站中的话,这就很有用。


==Installation via downloadable plugins (V2.2.1+)==
==通过可下载的插件(V2.2.1+)安装==
* login as admin
* 以管理员方式登录。
* select plugins from the left navigation
* 由左侧导航栏中选择插件。
* Click the ''Get More Plugins'' tab.
* 点击''获取更多插件(Get More Plugins)''标签。
* Click the ''Show repository list'' button.
* 点击''显示存储库列表(Show repository list)''按钮。
* Check the ''Community plugins'' box; ''Save''
* 检查''社群插件(Community plugins)''框;''保存(Save)''
* Click the ''update repository list'' button; click ''continue''.
* 点击''更新存储库列表(update repository list)''按钮;点击''继续(continue)''
* Under the ''Display'' section download the Formatted URLs module.
* ''显示(Display)''部分中,下载格式化的URL(Formatted URL)模块。


==Usage==
==用法==
* Download the module. The download location is listed on the [[Gallery:UserContributions#Modules|User Contributions]] page.
* 下载该模块。下载点位于[[Gallery:UserContributions#模块|用户贡献模块]]页面上。
* Install and activate the module
* 安装并激活该模块。
* In ''site admin'' -> ''Formatted URLs'', you can change the settings
* ''站点管理(site admin)'' -> ''格式化的URL(Formatted URLs)''中,你可以对设定进行修改。
* In ''site admin'' -> ''themes'' -> ''matrix'' (or any other theme), you can instantiate the formatted URLs block, e.g. add it to the photo blocks list
* ''站点管理(site admin)'' -> ''外观主题(themes)'' -> ''matrix''(或其他任何外观主题)中,你可以将格式化的URL区块实体化,例如将其添加到相片区块列表。
* In the root album or other album(s) select: ''edit permissions'', you can add the ''[geturls] View Formatted URls'' to the ''everybody'' or any other group
* 在根目录相册或其他相册中选择:''编辑权限(edit permissions)'',你可以添加''[geturls] View Formatted URls''''所有人''或其他任何用户组。
* In the item action links in the sidebar, you can click on ''view formatted URLs''
* 在变量的项目动作链接中,你可以点击''查看格式化的URL(view formatted URLs)''
* If the the option is enabled to show URLs under each thumbnail in the album pages, you can click on ''+'' under each thumbnail to see the formatted URLs
* 如果启用选项在相册页面各缩略图下显示URL的话,你可以点击各缩略图下的''+''来查看格式化的URL。


==Requested Features==
==被请求的特点==
See the forum discussion [http://gallery.menalto.com/node/28154#comment-132024]
参见论坛讨论[http://gallery.menalto.com/node/28154#comment-132024]


==Bugs==
==Bug==
Currently there are no known issues for this module.
目前尚无有关此模块的已知问题。


==Notes==
==注释==
* This module is *not* required if you just want to use Gallery 2 images in forums and other websites. But it makes it a little more comfortable.
* 如果你只是希望在论坛和其他网站中使用Gallery2图片的话,此模块就不是必须的。但使用此模块的话会更好。
* To find out the link to an image without this module, just right-click with your mouse on the image in your browser and choose ''copy image address''. The option may be named a little different in your browser, but it's almost always right-click + choose the right option. Don't confuse the link address with the image/source address.
* 没有此模块的情况下要找出某图片的链接的话,请用鼠标右击浏览器中的图片,并选择''复制图片地址(copy image address)''。此选项在不同的浏览器中可能会有不同的名称,不过都是右键点击并选择正确的选项。不要将链接地址与图片/源地址相混淆。


[[Category:Gallery 2:Contributed modules|GetUrls]]
[[Category:Gallery 2:Contributed modules|GetUrls]]
[[Category:Gallery 2:Modules|GetUrls]]
[[Category:Gallery 2:Modules|GetUrls]]

2008年8月25日 (一) 10:25的最新版本

格式化的URL(Formatted URL)[ ]

显示BBCode/HTML格式的URL。

描述[ ]

为你的图片和相册显示BBCode/HTML格式的URL以便在论坛和其他网站中发表图片。

作者: Kirill, shocksll。由valiant,whodah增补。

特点[ ]

  • BBCode和HTML预格式化的URL。
  • 图片的直接链接。
  • 图片链接(链接到全尺寸图片的小缩略图)。
  • 可选地在相册视图中各缩略图下显示链接。
  • 可选地在相片中在图片下或在相册页面上的缩略图列表之下将链接显示为区块。
  • 游客模式:仅显示匿名用户可访问的链接,甚至登录后也如此。
  • 控制[geturls] View Formatted URls,用户应可以看见格式化的URL。
  • 可选地,也显示itemId;如果你使用嵌入的G2的图片标签将G2图片包含在你的网站中的话,这就很有用。

通过可下载的插件(V2.2.1+)安装[ ]

  • 以管理员方式登录。
  • 由左侧导航栏中选择插件。
  • 点击获取更多插件(Get More Plugins)标签。
  • 点击显示存储库列表(Show repository list)按钮。
  • 检查社群插件(Community plugins)框;保存(Save)
  • 点击更新存储库列表(update repository list)按钮;点击继续(continue)
  • 显示(Display)部分中,下载格式化的URL(Formatted URL)模块。

用法[ ]

  • 下载该模块。下载点位于用户贡献模块页面上。
  • 安装并激活该模块。
  • 站点管理(site admin) -> 格式化的URL(Formatted URLs)中,你可以对设定进行修改。
  • 站点管理(site admin) -> 外观主题(themes) -> matrix(或其他任何外观主题)中,你可以将格式化的URL区块实体化,例如将其添加到相片区块列表。
  • 在根目录相册或其他相册中选择:编辑权限(edit permissions),你可以添加[geturls] View Formatted URls所有人或其他任何用户组。
  • 在变量的项目动作链接中,你可以点击查看格式化的URL(view formatted URLs)
  • 如果启用选项在相册页面各缩略图下显示URL的话,你可以点击各缩略图下的+来查看格式化的URL。

被请求的特点[ ]

参见论坛讨论[1]

Bug[ ]

目前尚无有关此模块的已知问题。

注释[ ]

  • 如果你只是希望在论坛和其他网站中使用Gallery2图片的话,此模块就不是必须的。但使用此模块的话会更好。
  • 没有此模块的情况下要找出某图片的链接的话,请用鼠标右击浏览器中的图片,并选择复制图片地址(copy image address)。此选项在不同的浏览器中可能会有不同的名称,不过都是右键点击并选择正确的选项。不要将链接地址与图片/源地址相混淆。