yes, you can use limit (mysql) for this.
for paging (= your goal), you need a start and an offset value. by default (if the script has none set), start=0 and offset=10.
select the records (pics) from the database using these values as parameters for limit.
then, your script must generate a BACK and a FORWARD link on the bottom of the page, the references being:
BACK: script.php?start=[current start value minus offset]&offset=[offset]
FORWARD: script.php?start=[current plus offset]&offset=[offset]
of course, you would like to refine this later on. so you wouldn't provide a back link on the very first page and a forward link on the last one etc ...
in addition to that, you can change the offset value.
hth!