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 (
14970,
14972,
14973,
14974,
14977,
15022,
16441,
15023,
16442,
15024,
15025,
15026,
16443,
15071,
15072,
15062,
15063,
15064,
15065,
15066,
15067,
15068,
15069,
15070,
15219,
15220,
15221,
15222,
15223,
15224,
15225,
15226,
15227,
15228,
15229,
15230,
15231,
15232,
15233,
15885,
15886,
15890,
15891,
15892,
15073,
15074,
15075,
15076,
15077,
15078,
15079,
15080,
15081,
15082,
15083,
15084,
15085,
15086,
15087,
15088,
15089,
15192,
15194,
15196,
15198,
15201,
15202,
15203,
15204,
15205,
15206,
24201,
24247,
24248,
24240,
24244,
24241,
24242,
24245,
24243,
24246,
24216,
24213,
24207,
24212,
14926,
24211,
24204,
24217,
24215,
24209,
24214,
14932,
14933,
14934,
14935,
14936,
24208,
15645,
15647,
15652,
15653,
15654,
15655,
15656,
24225,
24219,
24218,
24226,
24224,
24220,
24221,
24227,
24222,
24228,
24223,
24235,
24230,
24229,
24234,
24231,
24232,
24236,
24233,
24237,
24238,
24239
)
ORDER BY
cscart_images_links.position,
cscart_images_links.pair_id