Board Thread:Support Requests - Getting Technical/@comment-10637-20161212130839/@comment-168424-20161212192714

That's going to be extremely difficult. The template will have to figure out which images it needs to scale and which it doesn't. I'm not sure how a template is supposed to figure that out unless it is written with maybe Javascript to call the API to get image dimensions.

Your best bet would be to work with Wikia staff and see if they can help you via Special:Contact/general. The lightbox stuff is all custom Wikia code, so you'de need to either work with that, find some lightbox code, or write it yourself.