Elgg 2.3.8
I'd like to change the cover sizes that are in the hypeIcons plugin (see below) by my_Plugin.
How to do this?
Thank you for your kind guidance.
---------------------------------------
mod/hypeIcons/classes/hypeJunction/Icons/Icons.php
public static function setCoverSizes($hook, $type, $return, $params) {
if (!empty($return)) {
return;
}
return [
'original' => [],
'master' => [
'w' => 1000,
'h' => 370,
'square' => false,
'upscale' => true,
],
'large' => [
'w' => 500,
'h' => 185,
'square' => false,
'upscale' => false,
],
'medium' => [
'w' => 250,
'h' => 90,
'square' => false,
'upscale' => false,
],
'small' => [
'w' => 125,
'h' => 45,
'square' => false,
'upscale' => false,
],
];
}
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Reuven@reuven
Reuven - 0 likes
You must log in to post replies.Solved through elgg_register_plugin_hook_handler
:)))