Difference between revisions of "Template:Bigstock"

From BITPlan Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 83: Line 83:
 
<pre>http://static1.bigstockphoto.com/thumbs/0/6/8/large2/86096639.jpg</pre>
 
<pre>http://static1.bigstockphoto.com/thumbs/0/6/8/large2/86096639.jpg</pre>
 
so <pre>/0/6/8</pre> is just the first three digits of the id in reverse order separated by slashes.
 
so <pre>/0/6/8</pre> is just the first three digits of the id in reverse order separated by slashes.
 +
[[Category:Icon]]
 
</noinclude><includeonly>{{#vardefine: iconfile|{{#ask: [[Bigstock id::{{{id|}}}]]  [[Bigstock file::+]]| ?Bigstock file#= | mainlabel=- | limit=1 }}}}{{#switch:{{{storemode|}}}
 
</noinclude><includeonly>{{#vardefine: iconfile|{{#ask: [[Bigstock id::{{{id|}}}]]  [[Bigstock file::+]]| ?Bigstock file#= | mainlabel=- | limit=1 }}}}{{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 95: Line 96:
 
|Bigstock file={{{file|}}}
 
|Bigstock file={{{file|}}}
 
}}
 
}}
}}{{#if:{{{copyright|}}}|<br>Foto: © bigstockphoto.com http://www.bigstockphoto.de/image-{{{id|}}}{{{id|}}}|{{#if:{{#var:iconfile}}|[[File:{{#var:iconfile}}{{!}}{{{size|450}}}px{{#if:{{{link|}}}|{{!}}link={{{link|}}}}}]]|<img src="http://static1.bigstockphoto.com/thumbs/{{#sub:{{{id|}}}|2|1}}/{{#sub:{{{id|}}}|1|1}}/{{#sub:{{{id|}}}|0|1}}/large2/{{{id|}}}.jpg" title="{{{title|}}}" {{#if:{{{size|}}}|width="{{{size|}}}"}}>}}}}
+
}}{{#if:{{{copyright|}}}|<br>Foto: © bigstockphoto.com http://www.bigstockphoto.de/image-{{{id|}}}{{{id|}}}|{{#if:{{#var:iconfile}}|[[File:{{#var:iconfile}}{{!}}{{{size|450}}}px{{#if:{{{link|}}}|{{!}}link={{{link|}}}}}{{#if:{{{title|}}}|{{!}}{{{title|}}}}}]]|<img src="http://static1.bigstockphoto.com/thumbs/{{#sub:{{{id|}}}|2|1}}/{{#sub:{{{id|}}}|1|1}}/{{#sub:{{{id|}}}|0|1}}/large2/{{{id|}}}.jpg" title="{{{title|}}}" {{#if:{{{size|}}}|width="{{{size|}}}"}}>}}}}
 
</includeonly>
 
</includeonly>

Latest revision as of 06:39, 7 December 2019

This is the template bigstock it is used to display bigstock photos. See Property:Bigstock id

examples

{{bigstock
|id=86096639
|title=stock-foto-percent-symbol-and-business-chart-on-financial-paper
|size=200
}}

stock-foto-percent-symbol-and-business-chart-on-financial-paper

non paid

{{bigstock
|id=87055265
}}

withLink

{{bigstock
|id=5668486
|link=https://www.semantic-mediawiki.org/wiki/List_of_Attendees
}}

Bigstock-Network-5668486.jpeg


copyright

{{bigstock
|id=86096639
|copyright=true
}}


Foto: © bigstockphoto.com http://www.bigstockphoto.de/image-8609663986096639


{{bigstock
|id=22569032
|size=200
}}

Bigstock--D-Small-People--Repairers-22569032.jpg

non sized

Bigstock--D-Small-People--Repairers-22569032.jpg

usage tracking

see Property:Bigstock id

how it works

Bigstock stores the thumbnail images like this:

http://static1.bigstockphoto.com/thumbs/0/6/8/large2/86096639.jpg

so

/0/6/8

is just the first three digits of the id in reverse order separated by slashes.