modified regex in thumbnail? method for image
implemented site categories