Error

We're sorry, but an unhandled error occurred. Please see the details below.

An exception has been thrown during the rendering of a template ("imagesx() expects parameter 1 to be resource, boolean given").

/home/ouedknistp/www/plugins/rainlab/blog/components/post/default.htm line 20

 
{% if post.featured_images.count %}
    <div class="featured-images">
        <!--<div class="camera_wrap"> -->
        <div style="border:1px solid #ccc; margin-left:40px; width:500px; max-width:600px; height:500px; max-height:550px; text-align:center; line-height:500px; margin-bottom:5px">
            {% for image in post.featured_images %}
                <img alt="{{ post.title }} ouedkniss" class="prw" id="img_{{loop.index}}" src="{{ url(post.minify_img(image.disk_path, post.user.id, post.id)) }}" style="vertical-align:middle {% if loop.index > 1 %}; display:none {% endif %}; max-width:496px; max-height:480px" />
            {% endfor %}
        </div>
        <ul>
            {% for image in post.featured_images %}
                <!--<div data-thumb="" data-src="{{ image.disk_path }}" data-portrait="true"></div> -->
                <li id="thb_{{loop.index}}" class="fly" style="list-style:none; float:left; margin-right:10px; border:1px solid #ccc; padding:1px" >

Stack trace

# Called Code Document Line
27 Twig_Template->displayWithErrorHandling() https://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Template.php 253
26 Twig_Template->display() https://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Template.php 264
25 Twig_Template->render() https://www.ouedknisse.info/modules/cms/classes/Controller.php 701
24 Cms\Classes\Controller->renderPartial() https://www.ouedknisse.info/modules/cms/classes/Controller.php 756
23 Cms\Classes\Controller->renderComponent() https://www.ouedknisse.info/modules/cms/twig/Extension.php 135
22 Cms\Twig\Extension->componentFunction() https://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Environment.php(331) : eval()'d code 20
21 __TwigTemplate_6e3677e9f877b0bd5eb9605d45c0f1a8a3cf55e40c23801a9f7f759ba0abb14b->doDisplay() https://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Template.php 279
20 Twig_Template->displayWithErrorHandling() https://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Template.php 253
19 Twig_Template->display() https://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Template.php 264
18 Twig_Template->render() https://www.ouedknisse.info/modules/cms/classes/Controller.php 256
17 Cms\Classes\Controller->run()
16 call_user_func_array() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 231
15 Illuminate\Routing\Controller->callAction() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 93
14 Illuminate\Routing\ControllerDispatcher->call() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 62
13 Illuminate\Routing\ControllerDispatcher->dispatch() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/Router.php 962
12 Illuminate\Routing\Router->Illuminate\Routing\{closure}()
11 call_user_func_array() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/Route.php 109
10 Illuminate\Routing\Route->run() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/Router.php 1028
9 Illuminate\Routing\Router->dispatchToRoute() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/Router.php 996
8 Illuminate\Routing\Router->dispatch() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 775
7 Illuminate\Foundation\Application->dispatch() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 745
6 Illuminate\Foundation\Application->handle() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Session/Middleware.php 72
5 Illuminate\Session\Middleware->handle() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php 47
4 Illuminate\Cookie\Queue->handle() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php 51
3 Illuminate\Cookie\Guard->handle() https://www.ouedknisse.info/vendor/stack/builder/src/Stack/StackedHttpKernel.php 23
2 Stack\StackedHttpKernel->handle() https://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 641
1 Illuminate\Foundation\Application->run() https://www.ouedknisse.info/index.php 56