diff --git a/gallery/img/adventure.png b/gallery/img/adventure.png new file mode 100644 index 00000000..e21e8dc4 Binary files /dev/null and b/gallery/img/adventure.png differ diff --git a/gallery/img/aftermath.png b/gallery/img/aftermath.png new file mode 100644 index 00000000..159ab9be Binary files /dev/null and b/gallery/img/aftermath.png differ diff --git a/gallery/img/class.png b/gallery/img/class.png new file mode 100644 index 00000000..4cbb0288 Binary files /dev/null and b/gallery/img/class.png differ diff --git a/gallery/img/colorshifted.png b/gallery/img/colorshifted.png new file mode 100644 index 00000000..0f2a10e5 Binary files /dev/null and b/gallery/img/colorshifted.png differ diff --git a/gallery/img/conspiracy.png b/gallery/img/conspiracy.png new file mode 100644 index 00000000..1d08835f Binary files /dev/null and b/gallery/img/conspiracy.png differ diff --git a/gallery/img/devoid.png b/gallery/img/devoid.png new file mode 100644 index 00000000..b04717e4 Binary files /dev/null and b/gallery/img/devoid.png differ diff --git a/gallery/img/emblem.png b/gallery/img/emblem.png new file mode 100644 index 00000000..4364dfc7 Binary files /dev/null and b/gallery/img/emblem.png differ diff --git a/gallery/img/etched.png b/gallery/img/etched.png new file mode 100644 index 00000000..49ebf45b Binary files /dev/null and b/gallery/img/etched.png differ diff --git a/gallery/img/flip.png b/gallery/img/flip.png new file mode 100644 index 00000000..f8a4e824 Binary files /dev/null and b/gallery/img/flip.png differ diff --git a/gallery/img/fuse.png b/gallery/img/fuse.png new file mode 100644 index 00000000..4a238ee3 Binary files /dev/null and b/gallery/img/fuse.png differ diff --git a/gallery/img/land.png b/gallery/img/land.png new file mode 100644 index 00000000..630682f9 Binary files /dev/null and b/gallery/img/land.png differ diff --git a/gallery/img/levelers.png b/gallery/img/levelers.png new file mode 100644 index 00000000..55631931 Binary files /dev/null and b/gallery/img/levelers.png differ diff --git a/gallery/img/mutate.png b/gallery/img/mutate.png new file mode 100644 index 00000000..d63a656b Binary files /dev/null and b/gallery/img/mutate.png differ diff --git a/gallery/img/nyx.png b/gallery/img/nyx.png new file mode 100644 index 00000000..b8338fa6 Binary files /dev/null and b/gallery/img/nyx.png differ diff --git a/gallery/img/regular.png b/gallery/img/regular.png new file mode 100644 index 00000000..d27fe635 Binary files /dev/null and b/gallery/img/regular.png differ diff --git a/gallery/img/snow.png b/gallery/img/snow.png new file mode 100644 index 00000000..4603d2a8 Binary files /dev/null and b/gallery/img/snow.png differ diff --git a/gallery/img/split.png b/gallery/img/split.png new file mode 100644 index 00000000..1584a7b2 Binary files /dev/null and b/gallery/img/split.png differ diff --git a/gallery/img/tokenDayNight.png b/gallery/img/tokenDayNight.png new file mode 100644 index 00000000..26cffa89 Binary files /dev/null and b/gallery/img/tokenDayNight.png differ diff --git a/gallery/img/tokenEmblem.png b/gallery/img/tokenEmblem.png new file mode 100644 index 00000000..4364dfc7 Binary files /dev/null and b/gallery/img/tokenEmblem.png differ diff --git a/gallery/img/tokenJumpstart.png b/gallery/img/tokenJumpstart.png new file mode 100644 index 00000000..49a5f75b Binary files /dev/null and b/gallery/img/tokenJumpstart.png differ diff --git a/gallery/img/tokenOldRegular.png b/gallery/img/tokenOldRegular.png new file mode 100644 index 00000000..b3633b24 Binary files /dev/null and b/gallery/img/tokenOldRegular.png differ diff --git a/gallery/img/tokenOldTextless.png b/gallery/img/tokenOldTextless.png new file mode 100644 index 00000000..1327531f Binary files /dev/null and b/gallery/img/tokenOldTextless.png differ diff --git a/gallery/img/tokenOriginal.png b/gallery/img/tokenOriginal.png new file mode 100644 index 00000000..3c1b4129 Binary files /dev/null and b/gallery/img/tokenOriginal.png differ diff --git a/gallery/img/tokenRegular.png b/gallery/img/tokenRegular.png new file mode 100644 index 00000000..a931964e Binary files /dev/null and b/gallery/img/tokenRegular.png differ diff --git a/gallery/img/tokenTall.png b/gallery/img/tokenTall.png new file mode 100644 index 00000000..956fec87 Binary files /dev/null and b/gallery/img/tokenTall.png differ diff --git a/gallery/img/tokenTextless.png b/gallery/img/tokenTextless.png new file mode 100644 index 00000000..ebcf8e46 Binary files /dev/null and b/gallery/img/tokenTextless.png differ diff --git a/gallery/img/tokenUnglued.png b/gallery/img/tokenUnglued.png new file mode 100644 index 00000000..198f7162 Binary files /dev/null and b/gallery/img/tokenUnglued.png differ diff --git a/gallery/index.php b/gallery/index.php index 95f75142..3928b396 100644 --- a/gallery/index.php +++ b/gallery/index.php @@ -3,13 +3,16 @@ $title = 'Card Conjurer - Gallery'; $desc = 'See examples of available frames'; include('../globalHTML/header-1.php'); ?> -

Gallery

-
-

Showcase Frames

-

What they're called, and where to find them

-
-
-
+

Available Frames

+

What they're called, and where to find them

+

Showcase Frames

+
+

Regular Frames

+
+

Token Frames

+
+

Other Card Types

+
\ No newline at end of file diff --git a/img/frames/etched/legends/a.png b/img/frames/etched/legends/a.png new file mode 100644 index 00000000..7a722c39 Binary files /dev/null and b/img/frames/etched/legends/a.png differ diff --git a/img/frames/etched/legends/aThumb.png b/img/frames/etched/legends/aThumb.png new file mode 100644 index 00000000..eecc3fee Binary files /dev/null and b/img/frames/etched/legends/aThumb.png differ diff --git a/img/frames/etched/legends/b.png b/img/frames/etched/legends/b.png new file mode 100644 index 00000000..a6529d63 Binary files /dev/null and b/img/frames/etched/legends/b.png differ diff --git a/img/frames/etched/legends/bThumb.png b/img/frames/etched/legends/bThumb.png new file mode 100644 index 00000000..d8f07f39 Binary files /dev/null and b/img/frames/etched/legends/bThumb.png differ diff --git a/img/frames/etched/legends/g.png b/img/frames/etched/legends/g.png new file mode 100644 index 00000000..d6443fc5 Binary files /dev/null and b/img/frames/etched/legends/g.png differ diff --git a/img/frames/etched/legends/gThumb.png b/img/frames/etched/legends/gThumb.png new file mode 100644 index 00000000..c6523a50 Binary files /dev/null and b/img/frames/etched/legends/gThumb.png differ diff --git a/img/frames/etched/legends/m.png b/img/frames/etched/legends/m.png new file mode 100644 index 00000000..7b9a5b09 Binary files /dev/null and b/img/frames/etched/legends/m.png differ diff --git a/img/frames/etched/legends/mThumb.png b/img/frames/etched/legends/mThumb.png new file mode 100644 index 00000000..28d20470 Binary files /dev/null and b/img/frames/etched/legends/mThumb.png differ diff --git a/img/frames/etched/legends/r.png b/img/frames/etched/legends/r.png new file mode 100644 index 00000000..f917a1c4 Binary files /dev/null and b/img/frames/etched/legends/r.png differ diff --git a/img/frames/etched/legends/rThumb.png b/img/frames/etched/legends/rThumb.png new file mode 100644 index 00000000..3bd44305 Binary files /dev/null and b/img/frames/etched/legends/rThumb.png differ diff --git a/img/frames/etched/legends/u.png b/img/frames/etched/legends/u.png new file mode 100644 index 00000000..71da8f27 Binary files /dev/null and b/img/frames/etched/legends/u.png differ diff --git a/img/frames/etched/legends/uThumb.png b/img/frames/etched/legends/uThumb.png new file mode 100644 index 00000000..3bc39327 Binary files /dev/null and b/img/frames/etched/legends/uThumb.png differ diff --git a/img/frames/etched/legends/w.png b/img/frames/etched/legends/w.png new file mode 100644 index 00000000..f4ee8c68 Binary files /dev/null and b/img/frames/etched/legends/w.png differ diff --git a/img/frames/etched/legends/wThumb.png b/img/frames/etched/legends/wThumb.png new file mode 100644 index 00000000..445ce3b3 Binary files /dev/null and b/img/frames/etched/legends/wThumb.png differ diff --git a/img/frames/snc/gilded/colored/a.png b/img/frames/snc/gilded/colored/a.png new file mode 100644 index 00000000..8969afac Binary files /dev/null and b/img/frames/snc/gilded/colored/a.png differ diff --git a/img/frames/snc/gilded/colored/aThumb.png b/img/frames/snc/gilded/colored/aThumb.png new file mode 100644 index 00000000..5bf018b2 Binary files /dev/null and b/img/frames/snc/gilded/colored/aThumb.png differ diff --git a/img/frames/snc/gilded/colored/b.png b/img/frames/snc/gilded/colored/b.png new file mode 100644 index 00000000..7a766785 Binary files /dev/null and b/img/frames/snc/gilded/colored/b.png differ diff --git a/img/frames/snc/gilded/colored/bThumb.png b/img/frames/snc/gilded/colored/bThumb.png new file mode 100644 index 00000000..dfdd84f7 Binary files /dev/null and b/img/frames/snc/gilded/colored/bThumb.png differ diff --git a/img/frames/snc/gilded/colored/crowns/a.png b/img/frames/snc/gilded/colored/crowns/a.png new file mode 100644 index 00000000..fcd5f1a9 Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/a.png differ diff --git a/img/frames/snc/gilded/colored/crowns/aThumb.png b/img/frames/snc/gilded/colored/crowns/aThumb.png new file mode 100644 index 00000000..8ec8cddb Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/aThumb.png differ diff --git a/img/frames/snc/gilded/colored/crowns/b.png b/img/frames/snc/gilded/colored/crowns/b.png new file mode 100644 index 00000000..cf8a1bcf Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/b.png differ diff --git a/img/frames/snc/gilded/colored/crowns/bThumb.png b/img/frames/snc/gilded/colored/crowns/bThumb.png new file mode 100644 index 00000000..3514894a Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/bThumb.png differ diff --git a/img/frames/snc/gilded/colored/crowns/g.png b/img/frames/snc/gilded/colored/crowns/g.png new file mode 100644 index 00000000..caa606a5 Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/g.png differ diff --git a/img/frames/snc/gilded/colored/crowns/gThumb.png b/img/frames/snc/gilded/colored/crowns/gThumb.png new file mode 100644 index 00000000..57223022 Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/gThumb.png differ diff --git a/img/frames/snc/gilded/colored/crowns/m.png b/img/frames/snc/gilded/colored/crowns/m.png new file mode 100644 index 00000000..facef993 Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/m.png differ diff --git a/img/frames/snc/gilded/colored/crowns/mThumb.png b/img/frames/snc/gilded/colored/crowns/mThumb.png new file mode 100644 index 00000000..fec51cc2 Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/mThumb.png differ diff --git a/img/frames/snc/gilded/colored/crowns/r.png b/img/frames/snc/gilded/colored/crowns/r.png new file mode 100644 index 00000000..38517bb2 Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/r.png differ diff --git a/img/frames/snc/gilded/colored/crowns/rThumb.png b/img/frames/snc/gilded/colored/crowns/rThumb.png new file mode 100644 index 00000000..29e62e48 Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/rThumb.png differ diff --git a/img/frames/snc/gilded/colored/crowns/u.png b/img/frames/snc/gilded/colored/crowns/u.png new file mode 100644 index 00000000..154b056e Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/u.png differ diff --git a/img/frames/snc/gilded/colored/crowns/uThumb.png b/img/frames/snc/gilded/colored/crowns/uThumb.png new file mode 100644 index 00000000..92355020 Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/uThumb.png differ diff --git a/img/frames/snc/gilded/colored/crowns/w.png b/img/frames/snc/gilded/colored/crowns/w.png new file mode 100644 index 00000000..6c0b9fb1 Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/w.png differ diff --git a/img/frames/snc/gilded/colored/crowns/wThumb.png b/img/frames/snc/gilded/colored/crowns/wThumb.png new file mode 100644 index 00000000..ff63ffbb Binary files /dev/null and b/img/frames/snc/gilded/colored/crowns/wThumb.png differ diff --git a/img/frames/snc/gilded/colored/g.png b/img/frames/snc/gilded/colored/g.png new file mode 100644 index 00000000..92912f35 Binary files /dev/null and b/img/frames/snc/gilded/colored/g.png differ diff --git a/img/frames/snc/gilded/colored/gThumb.png b/img/frames/snc/gilded/colored/gThumb.png new file mode 100644 index 00000000..c5d6f481 Binary files /dev/null and b/img/frames/snc/gilded/colored/gThumb.png differ diff --git a/img/frames/snc/gilded/colored/m.png b/img/frames/snc/gilded/colored/m.png new file mode 100644 index 00000000..97210768 Binary files /dev/null and b/img/frames/snc/gilded/colored/m.png differ diff --git a/img/frames/snc/gilded/colored/mThumb.png b/img/frames/snc/gilded/colored/mThumb.png new file mode 100644 index 00000000..80bab2ff Binary files /dev/null and b/img/frames/snc/gilded/colored/mThumb.png differ diff --git a/img/frames/snc/gilded/colored/pt.png b/img/frames/snc/gilded/colored/pt.png new file mode 100644 index 00000000..c1f353cd Binary files /dev/null and b/img/frames/snc/gilded/colored/pt.png differ diff --git a/img/frames/snc/gilded/colored/ptThumb.png b/img/frames/snc/gilded/colored/ptThumb.png new file mode 100644 index 00000000..9782e519 Binary files /dev/null and b/img/frames/snc/gilded/colored/ptThumb.png differ diff --git a/img/frames/snc/gilded/colored/r.png b/img/frames/snc/gilded/colored/r.png new file mode 100644 index 00000000..7ddcdf6a Binary files /dev/null and b/img/frames/snc/gilded/colored/r.png differ diff --git a/img/frames/snc/gilded/colored/rThumb.png b/img/frames/snc/gilded/colored/rThumb.png new file mode 100644 index 00000000..0b6506a2 Binary files /dev/null and b/img/frames/snc/gilded/colored/rThumb.png differ diff --git a/img/frames/snc/gilded/colored/u.png b/img/frames/snc/gilded/colored/u.png new file mode 100644 index 00000000..27cedf0a Binary files /dev/null and b/img/frames/snc/gilded/colored/u.png differ diff --git a/img/frames/snc/gilded/colored/uThumb.png b/img/frames/snc/gilded/colored/uThumb.png new file mode 100644 index 00000000..10bf15d0 Binary files /dev/null and b/img/frames/snc/gilded/colored/uThumb.png differ diff --git a/img/frames/snc/gilded/colored/w.png b/img/frames/snc/gilded/colored/w.png new file mode 100644 index 00000000..ba562360 Binary files /dev/null and b/img/frames/snc/gilded/colored/w.png differ diff --git a/img/frames/snc/gilded/colored/wThumb.png b/img/frames/snc/gilded/colored/wThumb.png new file mode 100644 index 00000000..6ea94120 Binary files /dev/null and b/img/frames/snc/gilded/colored/wThumb.png differ diff --git a/js/frames/packEtched.js b/js/frames/packEtched.js new file mode 100644 index 00000000..6128178c --- /dev/null +++ b/js/frames/packEtched.js @@ -0,0 +1,48 @@ +//Create objects for common properties across available frames +var masks = [{src:'/img/frames/m15/commanderLegends/m15CommanderLegendsMaskFrame.png', name:'Frame'}, {src:'/img/frames/m15/commanderLegends/m15CommanderLegendsMaskTitle.png', name:'Title'}, {src:'/img/frames/m15/commanderLegends/m15CommanderLegendsMaskType.png', name:'Type'}, {src:'/img/frames/m15/commanderLegends/m15CommanderLegendsMaskRules.png', name:'Rules'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}]; +var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/etched/legends/w.png', masks:masks}, + {name:'Blue Frame', src:'/img/frames/etched/legends/u.png', masks:masks}, + {name:'Black Frame', src:'/img/frames/etched/legends/b.png', masks:masks}, + {name:'Red Frame', src:'/img/frames/etched/legends/r.png', masks:masks}, + {name:'Green Frame', src:'/img/frames/etched/legends/g.png', masks:masks}, + {name:'Multicolored Frame', src:'/img/frames/etched/legends/m.png', masks:masks}, + {name:'Artifact Frame', src:'/img/frames/etched/legends/a.png', masks:masks}, + {name:'White Power/Toughness', src:'/img/frames/m15/commanderLegends/ptW.png', bounds:bounds}, + {name:'Blue Power/Toughness', src:'/img/frames/m15/commanderLegends/ptU.png', bounds:bounds}, + {name:'Black Power/Toughness', src:'/img/frames/m15/commanderLegends/ptB.png', bounds:bounds}, + {name:'Red Power/Toughness', src:'/img/frames/m15/commanderLegends/ptR.png', bounds:bounds}, + {name:'Green Power/Toughness', src:'/img/frames/m15/commanderLegends/ptG.png', bounds:bounds}, + {name:'Multicolored Power/Toughness', src:'/img/frames/m15/commanderLegends/ptM.png', bounds:bounds}, + {name:'Artifact Power/Toughness', src:'/img/frames/m15/commanderLegends/ptA.png', bounds:bounds}, +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = false; +//defines process for loading this version, if applicable +document.querySelector('#loadFrameVersion').onclick = async function() { + //resets things so that every frame doesn't have to + await resetCardIrregularities(); + //sets card version + card.version = 'etched'; + //art bounds + card.artBounds = {x:0.0767, y:0.1129, width:0.8476, height:0.4429}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.9213, y:0.5910, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305}; + resetWatermark(); + //text + loadTextOptions({ + mana: {name:'Mana Cost', text:'', y:0.0613, width:0.9292, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0}, + title: {name:'Title', text:'', x:0.0854, y:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, color:'white'}, + type: {name:'Type', text:'', x:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, color:'white'}, + rules: {name:'Rules Text', text:'', x:0.0927, y:0.6303, width:0.8147, height:0.2875, size:0.0362, color:'white'}, + pt: {name:'Power/Toughness', text:'', x:0.7928, y:0.902, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white'} + }); +} +//loads available frames +loadFramePack(); \ No newline at end of file diff --git a/js/frames/packSNCGildedColored.js b/js/frames/packSNCGildedColored.js new file mode 100644 index 00000000..764485d4 --- /dev/null +++ b/js/frames/packSNCGildedColored.js @@ -0,0 +1,54 @@ +//Create objects for common properties across available frames +var masks = [{src:'/img/frames/snc/gilded/frame.svg', name:'Frame'}]; +var bounds = {x:0.05, y:0.0177, width:0.9, height:0.0958}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/snc/gilded/colored/w.png', masks:masks}, + {name:'Blue Frame', src:'/img/frames/snc/gilded/colored/u.png', masks:masks}, + {name:'Black Frame', src:'/img/frames/snc/gilded/colored/b.png', masks:masks}, + {name:'Red Frame', src:'/img/frames/snc/gilded/colored/r.png', masks:masks}, + {name:'Green Frame', src:'/img/frames/snc/gilded/colored/g.png', masks:masks}, + {name:'Multicolored Frame', src:'/img/frames/snc/gilded/colored/m.png', masks:masks}, + {name:'Artifact Frame', src:'/img/frames/snc/gilded/colored/a.png', masks:masks}, + {name:'Power/Toughness', src:'/img/frames/snc/gilded/colored/pt.png', bounds:{x:0.7707, y:0.8843, width:0.1694, height:0.0639}}, + {name:'White Legend Crown', src:'/img/frames/snc/gilded/colored/crowns/w.png', bounds:bounds}, + {name:'Blue Legend Crown', src:'/img/frames/snc/gilded/colored/crowns/u.png', bounds:bounds}, + {name:'Black Legend Crown', src:'/img/frames/snc/gilded/colored/crowns/b.png', bounds:bounds}, + {name:'Red Legend Crown', src:'/img/frames/snc/gilded/colored/crowns/r.png', bounds:bounds}, + {name:'Green Legend Crown', src:'/img/frames/snc/gilded/colored/crowns/g.png', bounds:bounds}, + {name:'Multicolored Legend Crown', src:'/img/frames/snc/gilded/colored/crowns/m.png', bounds:bounds}, + {name:'Artifact Legend Crown', src:'/img/frames/snc/gilded/colored/crowns/a.png', bounds:bounds}, + +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = false; +//defines process for loading this version, if applicable +document.querySelector('#loadFrameVersion').onclick = async function() { + //resets things so that every frame doesn't have to + await resetCardIrregularities(); + //sets card version + card.version = 'sncGildedColored'; + //art bounds + card.artBounds = {x:0.078, y:0.1124, width:0.844, height:0.4448}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.9213, y:0.5910, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305}; + resetWatermark(); + //text + loadTextOptions({ + mana: {name:'Mana Cost', text:'', y:0.0629, width:0.928, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0}, + title: {name:'Title', text:'', x:0.0854, y:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, color:'white', shadowX:0.002, shadowY:0.0015}, + type: {name:'Type', text:'', x:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, color:'white', shadowX:0.002, shadowY:0.0015}, + rules: {name:'Rules Text', text:'', x:0.086, y:0.6303, width:0.828, height:0.2875, size:0.0362, color:'white', shadowX:0.002, shadowY:0.0015}, + pt: {name:'Power/Toughness', text:'', x:0.788, y:0.9, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white'} + }); +} +//loads available frames +loadFramePack(); +//Only for the main version as the webpage loads: +if (!card.text) { + document.querySelector('#loadFrameVersion').click(); +} \ No newline at end of file