ok, but may I ask what on earth you are doing? You are editing settings that you obviously have no idea as to what they do. First you set margin for the thumbnails to be 800px(which is impossible), and now you have set MAX_WIDTH and MAX_HEIGHT of the thumbnails are to 30px!
<min_width>30</min_width>
<min_height>30</min_height>
<max_width>30</max_width>
<max_height>30</max_height>
Your thumbnails will not be able to display within a 30px area of course, so the script goes into infinite loop trying to figure out how many pages it needs to create if displaying 0 thumbnails per page. That needs to be set to much higher values, like the default 200 - 200 - 700 - 600.
Please, be cautious when you edit your config file, or be prepared to reset it with the default config. You can reset your config by logging in to FTP, and deleting the file imagevue/config/config.xml. There are tons of settings in imagevue, because our users have been requesting them over time. However, all settings are not fail-safe and wont just work by entering any values ...