Forum Activity for @michael

michael
@michael
03/20/17 08:21:29PM
7,826 posts

google maps api key in time map


Genosis

Whats the URL to see that error firing? the console seams to be saying its coming from a util.js file, but I cant see that file anywhere in our codebase.

have you added anything custom?
michael
@michael
03/20/17 07:39:47PM
7,826 posts

upload size for images


Genosis

Thats the CLI version of php, check the one that apache is using by going to
ACP -> MODULES -> CORE -> SYSTEM CORE -> TOOLS -> SYSTEM CHECK -> click the button (screenshot)
php_system_check.jpg php_system_check.jpg - 337KB
michael
@michael
03/20/17 07:10:57PM
7,826 posts

Image crop=portrait


Using Jamroom

thats a good way to do it.
michael
@michael
03/20/17 06:50:31PM
7,826 posts

Image crop=portrait


Using Jamroom

but if you could you'd be happy?

I'll get a ticket opened on it.
michael
@michael
03/20/17 06:49:26PM
7,826 posts

Blog into widget?


Using Jamroom

Well done :)
michael
@michael
03/20/17 06:48:35PM
7,826 posts

google maps api key in time map


Genosis

hmmmm. no ACP and a module that you haven't bought throwing errors. mysterious.

Can you try going to this url please:
YOUR-SITE.com/core/admin/global

That should be the base location for the ACP. type in to the search box there "map" and see what comes back.

Thanks.
michael
@michael
03/20/17 04:50:07PM
7,826 posts

upload size for images


Genosis

not a problem. If you need to ask these questions, we know we still have work to do on docs. :) ask away.


If you like videos here:
Video Learning: "The admin handbook: Learning Quotas"
https://www.jamroom.net/video-training/81/admin-handbook-learning-quotas

If you prefer docs here:

Docs: "Understanding Profile Quotas"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/2985/understanding-profile-quotas


Docs: "HowTo: Increase Php's upload limit"
https://www.jamroom.net/the-jamroom-network/documentation/howto/748/howto-increasing-phps-upload-limit

If the changes are not taking effect, try restarting apache.
michael
@michael
03/20/17 04:43:41PM
7,826 posts

Image crop=portrait


Using Jamroom

jrImage_create_image() is the function that takes that crop argument.

--

filter=?????

arguments can also be used.

--


Answer: Yes 'portrait' is an image value. and you're right, it takes the top portion:
     case 'portrait':
                // With a portrait crop, we expect the images to be of people,
                // with their head in the upper 3rd of the picture
                if ($src_width > $src_height) {
                    $diff         = ($src_width - $src_height);
                    $src_x_offset = round($diff / 2);
                    $src_width    = $src_height;
                }
                else {
                    $diff         = ($src_height - $src_width);
                    $src_y_offset = round($diff / 4);
                    $src_height   = $src_width;
                }
                $_post['height'] = $_post['width'];
                $new_height      = $new_width;
                break;
michael
@michael
03/20/17 04:15:58PM
7,826 posts

Image crop=portrait


Using Jamroom

bugger, thought I had it with that answer. ;)

if the ratio is something like 1:16 it should be using the center of the width I would expect, because the overflow would be in that direction.

You're needing an off-set. hmmm. need to go look. back soon.
  246