Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var params = {
- count: 1,
- niches: [{/literal}{if $smarty.get.n>0}{$smarty.get.n}{else}151{/if}{literal}],
- categories: [{/literal}{if $smarty.get.c>0}{$smarty.get.c}{else}'hard'{/if}{literal}],
- format: ["320x240"],
- context: "pdp",
- metadata: 1,
- behaviour: 14,
- excluded_ids : []
- };
- ThumbManager.getThumbs(params, function(thumbs) {
- ThumbManager.apply(thumbs, [ new ThumbSpec($('.ts__thumb'), "320x240") ]);
- $('.ts__thumb__nick').html(thumbs[0].metadata.nick);
- $('.ts__thumb__age').html(thumbs[0].metadata.age + " ans");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement