Change image height and width in fancybox

Greg Ratliff Posted in Technical Support 3 years ago

I'm wanting to change the thumbnail size on the wall post and when you click on image on wall to view pic

Replies
us Greg Ratliff Replied 3 years ago

thanks for the info i am using goblue least as my base... ill check that out... when i use fancybox the thumbnail and enlarge pics are alot smaller..

us Rishi B Replied 3 years ago

I may be incorrect about this as it's been awhile since I've used Fancybox, so if someone else wants to correct me, feel free.

If you want to change the size of a thumbnail on a wall post (whether or not you are using Fancybox), I believe what you actually want to edit is the image size within the class 'post-contents' (used in a div), which as far as know isn't within Fancybox. You can either edit components OssnPhotos, OssnProfile, and OssnWall; or you can do it via css which would probably be much easier.

The line to edit would be:

.ossn-wall-item .post-contents img {

On the goblue theme, it's in themes/goblue/default/css/core/default.php (lines 477).