SELECT
cscart_images_links.*,
cscart_images.image_path,
cscart_common_descriptions.description AS alt,
cscart_images.image_x,
cscart_images.image_y,
cscart_images.image_id as images_image_id
FROM
cscart_images_links
LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id
LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id
AND cscart_common_descriptions.object_holder = 'images'
AND cscart_common_descriptions.lang_code = 'fr'
WHERE
cscart_images_links.object_type = 'variant_image'
AND cscart_images_links.type = 'V'
AND cscart_images_links.object_id IN (
21886,
21887,
22807,
22808,
22809,
16015,
16003,
18539,
18544,
18551,
18542,
18543,
18540,
18541,
18545,
18546,
18547,
18548,
18549,
18550,
18552,
18553,
18554,
18555,
18556,
18563,
18557,
18564,
18558,
18565,
18559,
18566,
18560,
18567,
18561,
18562,
18568,
18574,
18569,
18575,
18570,
18576,
18571,
18577,
18572,
18573,
18578,
18579,
18580,
18584,
18585,
18581,
18586,
18582,
18583,
18587,
18592,
18588,
18593,
18589,
18594,
18590,
18591,
19506,
19484,
19485,
19486,
19487,
19488,
19489,
19490,
19491,
19492,
19493,
19494,
19495,
19496,
19497,
19498,
19500,
19501,
19502,
19503,
19504,
19505,
22741,
22742,
22743,
22744,
22745,
22746,
22747,
22748,
22749,
22750,
22751,
22752,
22753,
22754,
22755,
22756,
22757,
22758,
22759,
22760,
22761,
24307,
24308,
24309,
24310,
24311,
24312,
24313,
22739,
22740,
23325,
23326,
23323,
23324,
23328,
23329,
23330,
23331,
23332,
23333,
23335,
23336,
23337,
23338,
23339,
23346,
23340,
23347,
23341,
23348,
23342,
23349,
23343,
23350,
23344,
23345,
23351,
23357,
23352,
23358,
23353,
23359,
23354,
23360,
23355,
23356,
23361,
23362,
23363,
23367,
23368,
23364,
23369,
23365,
23366,
23370,
23375,
23371,
23376,
23372,
23377,
23373,
23374,
14710,
14711,
15924,
14712,
14713,
14714,
14715,
14716,
14718,
22801,
22802,
22803,
22804,
22805,
22806,
17657,
17658,
17659,
17660,
17661,
17662,
17663,
17664,
17665,
17666,
17667,
17668,
17669,
17670,
17671,
17672,
17673,
17674,
17675,
17676,
17677,
17678,
17679,
17680,
17681,
17682,
17683,
17684,
17685,
17686,
17687,
17688,
17689,
17690,
17691,
17692,
17693,
17694,
17695,
17696,
17697,
17698,
17699,
17700,
19233,
19234,
19236,
19237,
19238,
19239,
19240,
19241,
19242,
19244,
19245,
19246,
24306,
19249,
19250,
19251,
19252,
23618,
21870,
21871,
21872,
21873,
21874,
21875,
21876,
21877,
21878,
21879,
21880,
21881,
21882,
21883,
21884,
21885,
23290,
23291,
23302,
23300,
23293,
23292,
23294,
23295,
23296,
23297,
23298,
23299,
23301,
23303,
23304,
23305,
22731,
22732,
22734,
22735,
24196
)
ORDER BY
cscart_images_links.position,
cscart_images_links.pair_id