[modified] gallery API
[modified] index value