Wanna try
More photos from Iwanttobeher
SELECT *
FROM gallery2
WHERE topic_id="778696"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1554215"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1823469"
UNION
SELECT *
FROM gallery2
WHERE topic_id="524077"
UNION
SELECT *
FROM gallery2
WHERE topic_id="515162"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1219976"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1384908"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1791597"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1082610"
UNION
SELECT *
FROM gallery2
WHERE topic_id="591832"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1056181"
UNION
SELECT *
FROM gallery2
WHERE topic_id="316864"
UNION
SELECT *
FROM gallery2
WHERE topic_id="520796"
UNION
SELECT *
FROM gallery2
WHERE topic_id="530467"
UNION
SELECT *
FROM gallery2
WHERE topic_id="603243"
UNION
SELECT *
FROM gallery2
WHERE topic_id="872928"