canonknipser / imthumbnailer Goto Github PK
View Code? Open in Web Editor NEWImageMagick thumbnailer for phpBB >= 3.2.4
ImageMagick thumbnailer for phpBB >= 3.2.4
Suggestion from the customizatioon team
public function is_enableable()
{
$language = $this->container->get('language');
$language->add_lang('imthumbnailer_acp', 'canonknipser/imthumbnailer');
if (!class_exists('Imagick'))
{
trigger_error($language->lang('CK_IM_REQUIRE_IMAGICK'), E_USER_WARNING);
}
$config = $this->container->get('config');
if (!phpbb_version_compare($config['version'], '3.2.4', '>='))
{
trigger_error($language->lang('CK_IM_REQUIRE_IMAGICK'), E_USER_WARNING);
}
return true;
}
Hi,
Would it be possible to have the thumbnailet work when inserting a remote image into a post, example:
[img]https://cursorium.co.uk/gallery/_data/i/upload/2018/06/11/20180611113938-c9a106df-me.jpg[/img]
As well as it working with attachments?
Regards
Chris
The extension pre validator found some issues
clean code following coding guideline
Extensions should follow a new directory structure - root is only containing non-packed resources, packed resources are in a subfolder named vendor/extension
acp/main_module.php
event/main_listener.php
adm/style/acp_ck_it_body.html
you can use
{{ lang('ACP_CK_IT_QUALITY') ~ lang('COLON') }}
instead of{{ lang('ACP_CK_IT_QUALITY') }}{{ lang('COLON') }}
.
Admins should be able to define a Filter used to resize a image, Currently, the filter is set to FILTER_LANCZOS
for png images setOption('png:compression-level', 9);
should be used instead of setCompressionQuality()
Thanks to thecoalman
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.