solved Image cropping and resizing

johnchansa
@johnchansa
10 years ago
195 posts
large Images on my JR 5 site are cut off or cropped to the default size while on my JR4 site the same images are re-sized or made to fit.
JR 4
http://www.zmusicportal.com/image.php?band_id=44&mode=band_image&width=200&crop_height=250&skin=Nova

JR5
http://zmusic.biz/profile/image/profile_image/24/medium/crop=auto/_v=1387621411

How can i have the images re-sized or made to it on my JR5 site?

updated by @johnchansa: 03/04/14 05:19:24PM
douglas
@douglas
10 years ago
2,791 posts
The image cropping is controlled by the core image function:

{ jrCore_module_function function="jrImage_display" crop="auto" ... }

You can set the crop parameter to one of the following.

auto
square
height
width

You'll find that function in your skins/jrNova/artists_row.tpl file.

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
brian
@brian
10 years ago
10,148 posts
There is also a new "portrait" crop option - works the same as auto/square, but moves the focus of the image into the upper portion of the image (made for squaring portraits).

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
douglas
@douglas
10 years ago
2,791 posts
brian:
There is also a new "portrait" crop option

Thanks Brian, forgot about that one. ;)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
johnchansa
@johnchansa
10 years ago
195 posts
Great stuff.....
The info helped me sort out the issue.

Tags