Camerapedia
mNo edit summary
mNo edit summary
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Copyright: {{Self|cc-by-1.2|name=James Bond}}
+
Person's Copyright: {{Self|cc-by-1.2|name=James Bond}}
   
My copyright: {{Self|author=James Bond}}
+
User's Copyright, default license: {{Self|user=Neo}}
  +
User's Copyright, default permission: {{Permission|user=Retro}}
  +
PD: {{PD}}
  +
  +
My copyright: {{Self|(C)|year=2011}}
   
 
=Collapsible Pictures and explanations -- Boxes=
 
=Collapsible Pictures and explanations -- Boxes=
rebollo_fr: the new work you have been doing has added new functionality to the Camerapedia site on a scale of magnitudes better!!! --[[User:GitzoCollector|GitzoCollector]] 17:11, 21 December 2010 (EST)
 
   
   
{| class="collapsible collapsed plainlinks" border="1" cellpadding="4" style="margin: 0.5em 2em; border-collapse: collapse;"
 
|| sample photo
 
!
 
|-
 
| colspan=2 | [http://www.flickr.com/photos/heritagefutures/5274674485/in/pool-camerapedia/ http://farm6.static.flickr.com/5282/5274674485_1bdb47e54f_t.jpg]
 
|}
 
   
 
{{dropimage|align=center|width=120px|Press me !|
 
{{dropimage|align=center|width=120px|Press me !|
Line 20: Line 17:
 
}}
 
}}
   
  +
=Collapsible Pictures and explanations -- Sections=
:NICE!!!--[[User:GitzoCollector|GitzoCollector]] 15:14, 20 December 2010 (EST)
 
  +
  +
  +
<div class="NavFrame">
  +
<div class="NavHead">[... This is the title of your collapsible content ...]</div>
  +
<div class="NavContent" align="left">
  +
What are those ugly dots? I get it!
  +
</div>
  +
</div>
  +
  +
::The "NavFrame" class is supposed to be centered by default, to provide navigation boxes at the bottom of the pages. You can override the setting with <nowiki>align="left"</nowiki> inside the <nowiki><div></nowiki> tabs (see example below). --[[User:Rebollo fr|rebollo_fr]] 06:10, 3 January 2011 (EST)
   
  +
=Sizing of images-- Formatting help needed, please=
{| class="collapsible collapsed" border="1" style="border-collapse: collapse;"
 
|| Click for interesting information
 
!
 
|-
 
| colspan=2 |
 
   
{| class="collapsible collapsed" border="1" style="border-collapse: collapse;"
 
|| Click for less interesting information
 
!
 
|-
 
| colspan=2 | Blabla
 
   
|}
 
   
  +
:The problem is not really with the wiki, but with Flickr image hosting. Because the different sizes available through Flickr are determined by the picture's longer edge, any difference in the aspect ratio of the image will be visible when you put the images side by side. This is something quite annoying; sometimes I have to fight to overcome this by computing the ideal aspect ratio then cropping the image. In that particular page, I think you have to frame the longer picture differently (less cropping at the top and bottom) until it coincides with the height of the smaller images (it can be computed beforehand of course). --[[User:Rebollo fr|rebollo_fr]] 06:37, 20 December 2010 (EST)
|}
 
  +
::: The MediaWiki software probably allows you to change the style of the image, giving you access to the width and height dimensions. I'm not sure that it's worth the effort, though.
  +
::: Once you figure out how to change the dimensions, it will get awkward quickly. The particular image that you want to make larger would look blurry or blocky, if you tried to increase it's height. (When you take a small image and try to stretch it larger, you run into problems with upsampling.) On the other hand, you could take a larger image and use html to make the dimensions smaller, but that also leads to problems.
  +
::: The best bet is to find an image that has a native size that's right for your purposes. Rebollo talked about cropping to get the right size. That's probably the least complicated fix. --[[User:Lbstone|Lbstone]] 09:18, 29 December 2010 (EST)

Latest revision as of 08:55, 26 May 2011

Person's Copyright:

James Bond, the copyright holder of this work, hereby publishes it under the following license:
GFDL 1.2

User's Copyright, default license:

User:Neo, the copyright holder of this work, hereby publishes it under the following license:
GFDL 1.3

User's Copyright, default permission:

User:Retro, the copyright holder of this work, hereby permits its usage in the camerapedia.wikia.com wiki

PD:

This work is in public domain, due to copyright expiry or by the will of the last copyright holder.

My copyright:

I, the copyright holder of this work, hereby publish it under the following license:
© 2011 contributor. All rights reserved.

Collapsible Pictures and explanations -- Boxes[]

Press me !
Again !
 Blabla

Collapsible Pictures and explanations -- Sections[]

The "NavFrame" class is supposed to be centered by default, to provide navigation boxes at the bottom of the pages. You can override the setting with align="left" inside the <div> tabs (see example below). --rebollo_fr 06:10, 3 January 2011 (EST)

Sizing of images-- Formatting help needed, please[]

The problem is not really with the wiki, but with Flickr image hosting. Because the different sizes available through Flickr are determined by the picture's longer edge, any difference in the aspect ratio of the image will be visible when you put the images side by side. This is something quite annoying; sometimes I have to fight to overcome this by computing the ideal aspect ratio then cropping the image. In that particular page, I think you have to frame the longer picture differently (less cropping at the top and bottom) until it coincides with the height of the smaller images (it can be computed beforehand of course). --rebollo_fr 06:37, 20 December 2010 (EST)
The MediaWiki software probably allows you to change the style of the image, giving you access to the width and height dimensions. I'm not sure that it's worth the effort, though.
Once you figure out how to change the dimensions, it will get awkward quickly. The particular image that you want to make larger would look blurry or blocky, if you tried to increase it's height. (When you take a small image and try to stretch it larger, you run into problems with upsampling.) On the other hand, you could take a larger image and use html to make the dimensions smaller, but that also leads to problems.
The best bet is to find an image that has a native size that's right for your purposes. Rebollo talked about cropping to get the right size. That's probably the least complicated fix. --Lbstone 09:18, 29 December 2010 (EST)