Simple yet enough
More photos from Nsfwoutfits
SELECT *
FROM gallery2
WHERE topic_id="12356"
UNION
SELECT *
FROM gallery2
WHERE topic_id="2714"
UNION
SELECT *
FROM gallery2
WHERE topic_id="196000"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1014391"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1690270"
UNION
SELECT *
FROM gallery2
WHERE topic_id="581597"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1602052"
UNION
SELECT *
FROM gallery2
WHERE topic_id="144821"
UNION
SELECT *
FROM gallery2
WHERE topic_id="901002"
UNION
SELECT *
FROM gallery2
WHERE topic_id="78066"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1590070"
UNION
SELECT *
FROM gallery2
WHERE topic_id="130071"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1661749"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1631056"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1581747"
UNION
SELECT *
FROM gallery2
WHERE topic_id="839173"