Wyomind_Flashmediagallery - Version 1.1.1

Version Notes

test

Download this release

Release Info

Developer Wyomind
Extension Wyomind_Flashmediagallery
Version 1.1.1
Comparing to
See all releases


Code changes from version 1.1.0 to 1.1.1

app/code/community/Wyomind/Flashmediagallery/etc/config.xml CHANGED
@@ -3,7 +3,7 @@
3
  <config>
4
  <modules>
5
  <Wyomind_Flashmediagallery>
6
- <version>1.0.1</version>
7
  </Wyomind_Flashmediagallery>
8
 
9
 
3
  <config>
4
  <modules>
5
  <Wyomind_Flashmediagallery>
6
+ <version>1.1.1</version>
7
  </Wyomind_Flashmediagallery>
8
 
9
 
app/locale/en_US/flashmediagallery.csv ADDED
File without changes
package.xml CHANGED
@@ -1,18 +1,159 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Wyomind_Flashmediagallery</name>
4
- <version>1.1.0</version>
5
  <stability>stable</stability>
6
- <license>free</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Add flash files (swf) and animated GIFs into the product's media gallery.</summary>
10
- <description>Add flash files (swf) and animated GIFs into the product's media gallery.</description>
11
- <notes>v1.1.0</notes>
12
- <authors><author><name>Wyomind</name><user>Wyomind</user><email>contact@wyomind.com</email></author></authors>
13
- <date>2015-02-09</date>
14
- <time>16:09:01</time>
15
- <contents><target name="magecommunity"><dir name="Wyomind"><dir name="Flashmediagallery"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Helper"><dir name="Form"><dir name="Gallery"><file name="Content.php" hash="c989ad476280ccbbb2de2cbbff0431d3"/></dir></dir></dir></dir></dir></dir><file name="Script.php" hash="76ca8c4ee75de15cc43b943222472a6c"/></dir><dir name="Helper"><dir name="Catalog"><file name="Image.php" hash="9ff40a69e51f46591a4991dd617ec73c"/></dir></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><file name="Image.php" hash="1e99ddf25c2cf70b261f8cc4e791b764"/></dir></dir><file name="Observer.php" hash="08ca28e0fbeb379f00401dc559e9e787"/><dir name="System"><dir name="Config"><dir name="Source"><file name="selectorAndSize.php" hash="0616d43d50187ea1a5ef00be74411c32"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="GalleryController.php" hash="f9a14e8b7509cedd209315b39c15910f"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="0efa76c1900f07975397ec92dea6f7ad"/><file name="system.xml" hash="13b6540c74b5ec723303c19fa8f599a7"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wyomind_Flashmediagallery.xml" hash="bac7ccf2e4f4fab7ec79a40ef5e20f18"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="flashmediagallery.xml" hash="5eb87ce02a014eb125abb56897845f7b"/></dir><dir name="template"><dir name="flashmediagallery"><dir name="catalog"><dir name="product"><dir name="helper"><file name="gallery.phtml" hash="c22f5360873bdf2be861a44f358ff733"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="flashmediagallery.xml" hash="52f5c7441d1a6666a506102e7d7ce0b8"/></dir></dir></dir></dir></target><target name="magelib"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Fmgscript.php" hash="82c8f4e2e54151c23fc40286d57efc7a"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="flashmediagallery"><file name="script.js" hash="3a50809fff182d6f8f96c21e8d8d9099"/></dir></dir></dir></dir></target></contents>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  <compatible/>
17
- <dependencies><required><php><min>4.0.0</min><max>5.6.0</max></php></required></dependencies>
 
 
 
 
 
 
 
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Wyomind_Flashmediagallery</name>
4
+ <version>1.1.1</version>
5
  <stability>stable</stability>
6
+ <license>Commercial</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Wyomind Flashmediagallery extension</summary>
10
+ <description>Wyomind Flashmediagallery extension</description>
11
+ <notes>test</notes>
12
+ <authors>
13
+ <author>
14
+ <name>Wyomind</name>
15
+ <user>Flashmediagallery</user>
16
+ <email>contact@wyomind.com</email>
17
+ </author>
18
+ </authors>
19
+ <date>2015-03-03</date>
20
+ <time>20:28:39</time>
21
+ <contents>
22
+ <target name="magecommunity">
23
+ <dir name="Wyomind">
24
+ <dir name="Flashmediagallery">
25
+ <dir name="Block">
26
+ <dir name="Adminhtml">
27
+ <dir name="Catalog">
28
+ <dir name="Product">
29
+ <dir name="Helper">
30
+ <dir name="Form">
31
+ <dir name="Gallery">
32
+ <file name="Content.php" hash="c989ad476280ccbbb2de2cbbff0431d3"/>
33
+ </dir>
34
+ </dir>
35
+ </dir>
36
+ </dir>
37
+ </dir>
38
+ </dir>
39
+ <file name="Script.php" hash="76ca8c4ee75de15cc43b943222472a6c"/>
40
+ </dir>
41
+ <dir name="Helper">
42
+ <dir name="Catalog">
43
+ <file name="Image.php" hash="9ff40a69e51f46591a4991dd617ec73c"/>
44
+ </dir>
45
+ </dir>
46
+ <dir name="Model">
47
+ <dir name="Catalog">
48
+ <dir name="Product">
49
+ <file name="Image.php" hash="1e99ddf25c2cf70b261f8cc4e791b764"/>
50
+ </dir>
51
+ </dir>
52
+ <file name="Observer.php" hash="08ca28e0fbeb379f00401dc559e9e787"/>
53
+ <dir name="System">
54
+ <dir name="Config">
55
+ <dir name="Source">
56
+ <file name="selectorAndSize.php" hash="0616d43d50187ea1a5ef00be74411c32"/>
57
+ </dir>
58
+ </dir>
59
+ </dir>
60
+ </dir>
61
+ <dir name="controllers">
62
+ <dir name="Adminhtml">
63
+ <dir name="Catalog">
64
+ <dir name="Product">
65
+ <file name="GalleryController.php" hash="f9a14e8b7509cedd209315b39c15910f"/>
66
+ </dir>
67
+ </dir>
68
+ </dir>
69
+ </dir>
70
+ <dir name="etc">
71
+ <file name="config.xml" hash="bca5891ef756fcd3c6117e868c261bd9"/>
72
+ <file name="system.xml" hash="13b6540c74b5ec723303c19fa8f599a7"/>
73
+ </dir>
74
+ </dir>
75
+ </dir>
76
+ </target>
77
+ <target name="magedesign">
78
+ <dir name="adminhtml">
79
+ <dir name="default">
80
+ <dir name="default">
81
+ <dir name="layout">
82
+ <file name="flashmediagallery.xml" hash="5eb87ce02a014eb125abb56897845f7b"/>
83
+ </dir>
84
+ <dir name="template">
85
+ <dir name="flashmediagallery">
86
+ <dir name="catalog">
87
+ <dir name="product">
88
+ <dir name="helper">
89
+ <file name="gallery.phtml" hash="c22f5360873bdf2be861a44f358ff733"/>
90
+ </dir>
91
+ </dir>
92
+ </dir>
93
+ </dir>
94
+ </dir>
95
+ </dir>
96
+ </dir>
97
+ </dir>
98
+ <dir name="frontend">
99
+ <dir name="base">
100
+ <dir name="default">
101
+ <dir name="layout">
102
+ <file name="flashmediagallery.xml" hash="52f5c7441d1a6666a506102e7d7ce0b8"/>
103
+ </dir>
104
+ </dir>
105
+ </dir>
106
+ </dir>
107
+ </target>
108
+ <target name="mageetc">
109
+ <dir name="modules">
110
+ <file name="Wyomind_Flashmediagallery.xml" hash="bac7ccf2e4f4fab7ec79a40ef5e20f18"/>
111
+ </dir>
112
+ </target>
113
+ <target name="magelocale">
114
+ <dir name="en_US">
115
+ <file name="flashmediagallery.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/>
116
+ </dir>
117
+ </target>
118
+ <target name="magelib">
119
+ <dir name="Varien">
120
+ <dir name="Data">
121
+ <dir name="Form">
122
+ <dir name="Element">
123
+ <file name="Fmgscript.php" hash="82c8f4e2e54151c23fc40286d57efc7a"/>
124
+ </dir>
125
+ </dir>
126
+ </dir>
127
+ </dir>
128
+ </target>
129
+ <target name="mageskin">
130
+ <dir name="adminhtml">
131
+ <dir name="default">
132
+ <dir name="default">
133
+ <dir name="flashmediagallery">
134
+ <file name="gallery.js" hash="e93197e255687bcd0919838b76b11709"/>
135
+ </dir>
136
+ </dir>
137
+ </dir>
138
+ </dir>
139
+ <dir name="frontend">
140
+ <dir name="base">
141
+ <dir name="default">
142
+ <dir name="flashmediagallery">
143
+ <file name="script.js" hash="3a50809fff182d6f8f96c21e8d8d9099"/>
144
+ </dir>
145
+ </dir>
146
+ </dir>
147
+ </dir>
148
+ </target>
149
+ </contents>
150
  <compatible/>
151
+ <dependencies>
152
+ <required>
153
+ <php>
154
+ <min>5.0.0</min>
155
+ <max>6.0.0</max>
156
+ </php>
157
+ </required>
158
+ </dependencies>
159
  </package>
skin/adminhtml/default/default/flashmediagallery/gallery.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Product.Gallery.addMethods({
2
+ loadImage: function(file) {
3
+ var image = this.getImageByFile(file);
4
+
5
+ this.getFileElement(file, 'cell-image img').src = image.url;
6
+ this.getFileElement(file, 'cell-image embed').src = image.url;
7
+ if (file.indexOf(".swf") || file.indexOf(".flv"))
8
+ this.getFileElement(file, 'cell-image embed').show();
9
+ else
10
+ this.getFileElement(file, 'cell-image img').show();
11
+ this.getFileElement(file, 'cell-image .place-holder').hide();
12
+ }
13
+ })