I don't know how to explain then I will tell from the beginning
I bought Theme "Fullscene" from dev "premitheme" in themeforest but they support quite suck then I have to troubleshoot and find the way to fix problem myself then i came here.
After installation and running my site. I got some bugs but the most important is about gallery
When I insert Gallery to portfolio items and click on thumbs they show error message
like "Image cannot be loaded make sure path is correct bla bla bla"
(this theme use prettyphoto)
i try to find solution and found answer that i have to set gallery to link to image file not attachment page
so i follow the instruction but still get the same problem.
I check the code then I found
<img width="150" height="150" src="http://www.xxx.com/wp-content/uploads/2013/02/IMG_5753-150x150.jpg" class="attachment-thumbnail" alt="IMG_5753">
it still link to attachment page.
How can i change link from attachment page to media file ?