Thank you very much!
I made it work but there are a few problems, could you fix this?:
First: Could you change it to display pages like this: 1,2,3,4,5,6,7,8...........999,1000,1001,1002,1003,1004
Because right now I have many pages and it doesn't look very good! See:
Second: What is that text says FONT face='Times New Roman,arial, verdana, helvetica' size=3>
Third: I didn't get the sort by title or date to work?
Last: when I click on another page, still same images displayed
Thanks