Thumbs location

* Changed thumbs location according to namespaces
[fix] Images, gd thumbs

* Fixed bug causing displacement of thumb image data