If you are using SmartThumbs to link to the FHG (Free Hosted Galleries), it is probably stripping off the end of the URL.
The correct URL of the FHG should look like this:
http://www.freehostedpics.com/hg/andipink/02.php?nats=YOUR_CODE_HERE&content=window
If you are seeing the URL appear in SmartThumbs like:
http://www.freehostedpics.com/hg/andipink/02.php?nats=YOUR_CODE_HERE
You need to make sure that you have the Smart Thumbs "URL Encode" feature enabled.
This will allow SmartThumbs to to pass the URL to the trade script by changing common symbols such as "?" and "&" in the FHGs and not try to interpret them as a SmartThumbs setting.