GlisWeb framework
_src
_config
_370.videos.php
Vai alla documentazione di questo file.
1
<?php
2
16
// definisco i formati delle immagini
17
$cf
[
'video'
][
'ratio'
] = array(
18
'1:1'
=>
'1by1'
,
19
'4:3'
=>
'4by3'
,
20
'16:9'
=>
'16by9'
,
21
'21:9'
=>
'21by9'
22
);
23
24
$cf
[
'img'
][
'size'
][
'p'
] = array(
25
80, 240, 480, 640, 720, 960, 1024, 1280, 2048
26
);
27
28
$cf
[
'img'
][
'formats'
][
'l'
] = array(
29
160 => 80,
30
320 => 240,
31
480 => 320,
32
640 => 480,
33
960 => 640,
34
1024 => 768,
35
1280 => 1024,
36
1600 => 1200,
37
1920 => 1280,
38
2048 => 1152
39
);
40
41
$cf
[
'img'
][
'formats'
][
'p'
] = array(
42
240 => 320,
43
320 => 480,
44
768 => 1024,
45
1024 => 1200
46
);
47
48
// definisco le tabelle in cui cercare le immagini e i relativi formati
49
# $cf['images']['resize'] = array();
50
51
// collego l'array $ct
52
$ct
[
'img'
] = &
$cf
[
'img'
];
53
54
/*
55
Common Aspect Ratios
56
Aspect Ratio Decimal Description
57
1:1 1.0 Square
58
5:4 1.25
59
4:3 1.333
60
8:5 1.6
61
16:9 1.777
62
63
Computer Screens
64
Dimensions (width x height) Aspect Ratio Description
65
320 x 200 1.6 CGA (color)
66
640 x 200 3.2 CGA (monochrome)
67
640 x 350 1.83 EGA
68
640 x 480 1.333 VGA
69
720 x 348 2.07 Hercules
70
1024 x 768 1.333 XGA
71
1280 x 1024 1.25
72
1366 x 768 1.78 widescreen
73
1600 x 1200 1.333
74
1680 x 1050 1.6 widescreen
75
1920 x 1200 1.6 widescreen
76
77
Tablet Screens
78
Dimensions (width x height) DPI Description
79
1024 x 600 169 Amazon Kindle
80
1024 x 768 132 Apple iPad, iPad 2
81
2048 x 1536 264 Apple iPad ("new" 2012)
82
83
PDA and Phone Screens
84
Dimensions (width x height) DPI Description
85
160 x 160 Palm (original)
86
176 x 208 Nokia Series 60 (original)
87
240 x 320 Nokia Series 60 (series 2)
88
320 x 240 Nokia Series 60 (series 3, landscape mode)
89
320 x 320 Palm (Tungsten and Zire)
90
352 x 416 Nokia Series 60 (series 2, feature pack 3)
91
416 x 352 Nokia Series 60 (series 3, landscape mode)
92
320 x 480 iPhone/iPod Touch - Portrait
93
480 x 320 iPhone/iPod Touch - Landscape
94
320 x 416 iPhone/iPod Touch - Safari content area - Portrait
95
480 x 268 iPhone/iPod Touch - Safari content area - Landscape
96
320 x 480 Android (HVGA)
97
960 x 640 326 Apple iPhone 4/4S
98
1136 x 640 iPhone 5
99
100
*/
101
102
?>
$cf
$cf['video']['ratio']
Definition:
_370.videos.php:17
$ct
$ct['img']
Definition:
_370.videos.php:52
Generato Sab 25 Lug 2020 23:06:28 per GlisWeb framework da
1.8.13