diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 222c76729c5d08f2edf347645d166db6e5d612d0..fdf46d28b27f80a19009eeef5eb0596e6b237f81 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -322,8 +322,8 @@ def create_cycles_material(self, image):
         tex_image.show_texture = True
         node_tree.links.new(out_node.inputs[0], mix_shader.outputs[0])
         node_tree.links.new(mix_shader.inputs[0], tex_image.outputs[1])
-        node_tree.links.new(mix_shader.inputs[1], bsdf_diffuse.outputs[0])
-        node_tree.links.new(mix_shader.inputs[2], bsdf_transparent.outputs[0])
+        node_tree.links.new(mix_shader.inputs[2], bsdf_diffuse.outputs[0])
+        node_tree.links.new(mix_shader.inputs[1], bsdf_transparent.outputs[0])
         node_tree.links.new(bsdf_diffuse.inputs[0], tex_image.outputs[0])
 
     
@@ -336,8 +336,8 @@ def create_cycles_material(self, image):
         tex_image.show_texture = True
         node_tree.links.new(out_node.inputs[0], mix_shader.outputs[0])
         node_tree.links.new(mix_shader.inputs[0], tex_image.outputs[1])
-        node_tree.links.new(mix_shader.inputs[1], emission.outputs[0])
-        node_tree.links.new(mix_shader.inputs[2], bsdf_transparent.outputs[0])
+        node_tree.links.new(mix_shader.inputs[2], emission.outputs[0])
+        node_tree.links.new(mix_shader.inputs[1], bsdf_transparent.outputs[0])
         node_tree.links.new(emission.inputs[0], tex_image.outputs[0])