Photoalignment composition comprising: • A photoalignment material comprising a photoalignment group selected from the group consisting of: cinnamate group, stilbene group, cyanostilbene group, coumarine group, quinolone group, azo group, chalcone group, mono- and diacetylene groups; benzylidenephtalimidine group, benzylideneacetophene group, phenylenediacryloyl group; chromone group; chromene group and stilbazole group; wherein said photoalignment group can be substituted or unsubstituted; and • a polyimide compound comprising repeating structural units (Ia) and/or (Ib) and optionally comprising repeating structural units (IIIa) and/or (IIIb); • and/or a polyamic acid compound comprising repeating structural units (Ia) and/or (lb) and optionally comprising repeating structural units (IIIa) and/or (IIIb); wherein the repeating structural units (la) and (Ib) are represented by formulae: wherein Q is a tetravalent organic residue of a tetracarboxylic dianhydride; and wherein n is ≥1; and wherein A is a divalent organic residue of a diamine and is represented by Formula wherein Ar 1 and Ar 2 are independently from each other unsubstituted or substituted aryl groups of C 5 -C 40 atoms; and wherein Cy 1 and Cy 2 are selected from the group consisting of unsubstituted or mono or poly- substituted pyridine, imidazole, benzimidazole, oxazole, benzoxazole, oxadiazole, thiaoxazole, benzothiazole, benzothioxazole, pyrazole, quinazolinone, pyrimidine, triazine, triazole, pyrimidinone, pteridine, isoindole, quinoline, acridine, carbazole and purine.; and wherein Z is a linking group; and wherein y 1, y 2, x and z are independently from each other 0, 1 or 2; and wherein w is 0, 1, 2, 3 or 4; and wherein x+z≥1; with the proviso that A of formula is linked into formula (Ia) and/or (Ib) at least at one Ar 1, Ar 2, Cy 1 or Cy 2; and wherein repeating structural units (IIIa) and (IIIb) are represented by formulae: wherein m is ≥0; and wherein Q has the same meaning as defined above; and wherein Q in the repeating structural units of formula (IIIa) or (IIIb) can be the same or different than in the repeating structural units of formula (Ia) or (Ib); and wherein B is a divalent diamine residue. • A photoalignment material comprising a photoalignment group selected from the group consisting of: cinnamate group, stilbene group, cyanostilbene group, coumarine group, quinolone group, azo group, chalcone group, mono- and diacetylene groups; benzylidenephtalimidine group, benzylideneacetophene group, phenylenediacryloyl group; chromone group; chromene group and stilbazole group; wherein said photoalignment group can be substituted or unsubstituted; and • a polyimide compound comprising repeating structural units (Ia) and/or (Ib) and optionally comprising repeating structural units (IIIa) and/or (IIIb); • and/or a polyamic acid compound comprising repeating structural units (Ia) and/or (lb) and optionally comprising repeating structural units (IIIa) and/or (IIIb); wherein the repeating structural units (la) and (Ib) are represented by formulae: wherein Q is a tetravalent organic residue of a tetracarboxylic dianhydride; and wherein n is ≥1; and wherein A is a divalent organic residue of a diamine and is represented by Formula wherein Ar 1 and Ar 2 are independently from each other unsubstituted or substituted aryl groups of C 5 -C 40 atoms; and wherein Cy 1 and Cy 2 are selected from the group consisting of unsubstituted or mono or poly- substituted pyridine, imidazole, benzimidazole, oxazole, benzoxazole, oxadiazole, thiaoxazole, benzothiazole, benzothioxazole, pyrazole, quinazolinone, pyrimidine, triazine, triazole, pyrimidinone, pteridine, isoindole, quinoline, acridine, carbazole and purine.; and wherein Z is a linking group; and wherein y 1, y 2, x and z are independently from each other 0, 1 or 2; and wherein w is 0, 1, 2, 3 or 4; and wherein x+z≥1; with the proviso that A of formula is linked into formula (Ia) and/or (Ib) at least at one Ar 1, Ar 2, Cy 1 or Cy 2; and wherein repeating structural units (IIIa) and (IIIb) are represented by formulae: wherein m is ≥0; and wherein Q has the same meaning as defined above; and wherein Q in the repeating structural units of formula (IIIa) or (IIIb) can be the same or different than in the repeating structural units of formula (Ia) or (Ib); and wherein B is a divalent diamine residue. wherein Q is a tetravalent organic residue of a tetracarboxylic dianhydride; and wherein n is ≥1; and wherein A is a divalent organic residue of a diamine and is represented by Formula wherein Ar 1 and Ar 2 are independently from each other unsubstituted or substituted aryl groups of C 5 -C 40 atoms; and wherein Cy 1 and Cy 2 are selected from the group consisting of unsubstituted or mono or poly- substituted pyridine, imidazole, benzimidazole, oxazole, benzoxazole, oxadiazole, thiaoxazole, benzothiazole, benzothioxazole, pyrazole, quinazolinone, pyrimidine, triazine, triazole, pyrimidinone, pteridine, isoindole, quinoline, acridine, carbazole and purine.; and wherein Z is a linking group; and wherein y 1, y 2, x and z are independently from each other 0, 1 or 2; and wherein w is 0, 1, 2, 3 or 4; and wherein x+z≥1; with the proviso that A of formula is linked into formula (Ia) and/or (Ib) at least at one Ar 1, Ar 2, Cy 1 or Cy 2; and wherein m is ≥0; and wherein Q has the same meaning as defined above; and wherein Q in the repeating structural units of formula (IIIa) or (IIIb) can be the same or different than in the repeating structural units of formula (Ia) or (Ib); and wherein B is a divalent diamine residue.