Try this troubleshooting steps (don't forget create backup before you do anything and check if it works after EACH step):
1) replace index.php with unmodified version
2) remove .htaccess from your 4images root directory
If these two steps didn't help, then please explain in details what happens (what do you see) when you try access a custom page.