if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› <div class="col-xs-6 col-md-3" style="margin-bottom: 15px;">\r
› <a data-fancybox="album" href="<?php echo getImageUrlById($imageId) ?>"><img class="img-responsive" src="<?php echo getImageUrlById($imageId, 300, 250) ?>" alt="<?php the_title()?>" title="<?php the_title()?>"></a>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-content/themes/nrglobal/single-project.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
http://tpltamcatland.nrglobal.top/wp-content/uploads/.webp" alt="DỰ ÁN OPAL GARDEN" title="DỰ ÁN OPAL GARDEN">
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› <div class="col-xs-6 col-md-3" style="margin-bottom: 15px;">\r
› <a data-fancybox="album" href="<?php echo getImageUrlById($imageId) ?>"><img class="img-responsive" src="<?php echo getImageUrlById($imageId, 300, 250) ?>" alt="<?php the_title()?>" title="<?php the_title()?>"></a>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-content/themes/nrglobal/single-project.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
http://tpltamcatland.nrglobal.top/wp-content/uploads/.webp" alt="DỰ ÁN OPAL GARDEN" title="DỰ ÁN OPAL GARDEN">
if ($resource === false) {
› throw new NotReadableException(
› "Unable to init from given binary data."
}
{
› case $this->isBase64():
› return $this->initFromBinary(base64_decode($this->data));
›
}
{
› {
› return $this->decoder->init($data);
› }
}
{
› {
› return $this->createDriver()->init($data);
› }
}
{
› {
› return self::getManager()->make($data);
› }
}
{
› }\r
› $image = Image::make($srcPath);\r
› $image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
}
{
› if (!file_exists($filepath)) {\r
› resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
› // Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
}
{
› <div class="col-xs-6 col-md-3" style="margin-bottom: 15px;">\r
› <a data-fancybox="album" href="<?php echo getImageUrlById($imageId) ?>"><img class="img-responsive" src="<?php echo getImageUrlById($imageId, 300, 250) ?>" alt="<?php the_title()?>" title="<?php the_title()?>"></a>\r
› </div>\r
}
{
› if ( $template ) {
› \tinclude $template;
› } elseif ( current_user_can( 'switch_themes' ) ) {
: {
"/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-content/themes/nrglobal/single-project.php"
}
}
{
› // Load the theme template.
› require_once ABSPATH . WPINC . '/template-loader.php';
›
: {
"/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-includes/template-loader.php"
}
}
{
› /** Loads the WordPress Environment and Template */
› require __DIR__ . '/wp-blog-header.php';
›
: {
"/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-blog-header.php"
}
}
}
}
http://tpltamcatland.nrglobal.top/wp-content/uploads/.webp" alt="DỰ ÁN OPAL GARDEN" title="DỰ ÁN OPAL GARDEN">
NotReadableException {#1883 #message: "Unable to init from given binary data." #code: 0 #file: "/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-content/themes/nrglobal/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php" #line: 115 : { { ›if ($resource === false) {
›throw new NotReadableException(
›"Unable to init from given binary data."
} { ›case $this->isBase64():
›return $this->initFromBinary(base64_decode($this->data));
› } { ›{
›return $this->decoder->init($data);
›}
} { ›{
›return $this->createDriver()->init($data);
›}
} { ›{
›return self::getManager()->make($data);
›}
} { ›}\r
›$image = Image::make($srcPath);\r
›$image->fit($maxWidth, $maxHeight, static function ($constraint) {\r
} { ›if (!file_exists($filepath)) {\r
›resizeImage($attachment_realpath, $filepath, $width, $height, $extension);\r
›// Bổ sung vào metadata để sau này khi user xóa ảnh thì xóa luôn cả ảnh resize\r
} { ›if($main_video['image'] != ''){\r
›$image_video = getImageUrlById($main_video['image'], 600, 500);\r
›}else{\r
} { ›if ( $template ) {
›\tinclude $template;
›} elseif ( current_user_can( 'switch_themes' ) ) {
: { "/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-content/themes/nrglobal/single-project.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/home/tamcatland/domains/tpltamcatland.nrglobal.top/public_html/wp-blog-header.php" } } } }