Quote

We're also available for Custom Joomla Development

Hire us now
chapullin87 on Tuesday, June 30 2015, 03:35 PM

image/minik2 folder is empty

Hello Everyone!

In 1st place i'm sorry for my English.

In the home I put the module whit portfolio. The heading and the text intro is ok but the image doesn't show. When I inspect the src of the images the direction is to the image/minik2 but this folder is empty. All the images are in media/k2/items/cache

I think it was a common issue, but searching I can't find nothing.

When I upload the site from my localhost to the live server I did it manually. And I have a few problems with some folders with the permissions. I try change the permissions of image/minik2 to 777 and reinstall the Mini k2 but nothing happens.
20 responses Add Yours
       
  • Replied by admin on Wednesday, July 01 2015, 08:36 AM · Hide· #1
    Hi I tried to visit your website but it's not available?
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by chapullin87 on Friday, July 03 2015, 03:34 PM · Hide· #2
    Now i think the site is available. Can you check?

    Cheers!
  •  
  • Replied by admin on Saturday, July 04 2015, 04:40 AM · Hide· #3
    Hi, can you try to add the images through the k2 image tab?
    Please see https://www.dropbox.com/s/f86khs1264kztwj/89lgr.jpg?dl=0
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by chapullin87 on Saturday, July 04 2015, 07:45 AM · Hide· #4
    Thanks for the answer!! A los of hours surfin and I can't find the solution.

    Is this pic in the MINI K2 MODULE????
    If it is, i can't find the menu "Content, Image, Image Gallery, media, etc"

    I try putin Hathor and Isis as template Administrator and nothing. (Sometimes some functions doesn't show in some template, and I don't know why).
  •  
  • Replied by admin on Saturday, July 04 2015, 09:43 AM · Hide· #5
    Hi, No, it's not the module backend. But it's the interface when you add a new K2 item.
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by chapullin87 on Saturday, July 04 2015, 04:25 PM · Hide· #6
    Thanks for your answer!!

    I think mi problem is not with de K2 MODULE, I think is only with the MINI K2 MODULE. Because all the items shows perfectly like
    http://radiourbanasf.com.ar/component/k2/item/2183-sale-a-la-venta-%E2%80%9Ccerati-infinito%E2%80%9D-que-compila-canciones-de-gustavo-cerati-en-su-etapa-solista.html

    But when I try show via PORTFOLIO by MINI K2 MODULE in the HOME it shows perfect the 'Title' and the 'Intro Text'. But the IMG doesn't show. Checking the source in the MINI K2 MODULE, now it points to
    <img src="/" alt=
    .
  •  
  • Replied by admin on Tuesday, July 07 2015, 01:24 AM · Hide· #7
    Hi chapulin, yes there's no problem with k2, it's just, the portfolio mode using img(s) those are added through the k2 image tab.
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by chapullin87 on Tuesday, July 07 2015, 08:35 AM · Hide· #8
    So, what I suppose is what I have to do?
  •  
  • Replied by admin on Tuesday, July 07 2015, 04:18 PM · Hide· #9
    Hi chapulin, I'd suggest you to add images for your portfolio items using k2 image tab (https://www.dropbox.com/s/f86khs1264kztwj/89lgr.jpg?dl=0) instead of adding it directly using insert image button on the wysiwyg editor
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by chapullin87 on Thursday, July 16 2015, 12:36 AM · Hide· #10
    Hello Hello!!

    I try uploading using k2 image tab, uploading directly and via server and...... nothing happens!!

    I think the problem is whit the source. It shows only a slash in the image source
    <a href="/noticias-de-rock/item/2184-asdf.html">
                    <img src="/" alt="asdfasdf" style="height:150px; width:200px">	            
                    <div class="description">


    I'm kinda desperate, I have 2 days or I will be dismissed from the project.
  •  
  • Replied by admin on Thursday, July 16 2015, 03:07 AM · Hide· #11
    Hmm ok, let me check on your server and let you know the result
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by admin on Thursday, July 16 2015, 03:17 AM · Hide· #12
    Hi can you check whether your tmp folder has been entered correctly?
    Please see https://www.dropbox.com/s/fm1zgpnp22ony1x/la45e.jpg?dl=0
    Additionally, when I tried to switch the error level from your global configuration to "Development" to see what error message is generated, it returned a permission error message.
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by chapullin87 on Thursday, July 16 2015, 12:21 PM · Hide· #13
    Ok, I put the right path to tmp.
    And change the permission and turned ON the Development dispalyer errors.
  •  
  • Replied by chapullin87 on Thursday, July 16 2015, 12:48 PM · Hide· #14
    Now the code is
    <img src="/
    Notice: Undefined property: stdClass::$image in /opt/sitios/radiourbanasf/public_html/modules/mod_minik2/tmpl/portfolio/default.php on line 30
    
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /opt/sitios/radiourbanasf/public_html/modules/mod_minik2/image.php on line 63
    
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /opt/sitios/radiourbanasf/public_html/modules/mod_minik2/image.php on line 64
    /" alt="asdfasdf" style="height:150px; width:200px">
  •  
  • Replied by chapullin87 on Thursday, July 16 2015, 01:06 PM · Hide· #15
    Notice: Undefined property: stdClass::$image in /opt/sitios/radiourbanasf/public_html/modules/mod_minik2/tmpl/portfolio/default.php on line 30


    The line 30 is

    <img src="/<?php echo resizeImageHelper::getResizedImage(''.$item->image, $tmbWidth, $tmbHeight, $option); ?>" alt="<?php echo $item->title; ?>" style="height:<?php echo $tmbHeight; ?>px; width:<?php echo $tmbWidth; ?>px" />
    


    and the
    Warning: imagesx() expects parameter 1 to be resource, boolean given in /opt/sitios/radiourbanasf/public_html/modules/mod_minik2/image.php on line 63
    Warning: imagesy() expects parameter 1 to be resource, boolean given in /opt/sitios/radiourbanasf/public_html/modules/mod_minik2/image.php on line 64


    The lines 63 and 64 are

    $width  = imagesx($img);
    $height = imagesy($img);
    
    • chapullin87 - more than a month ago
      I don't know why the code writting doesn't work in this coment
  •  
  • Replied by chapullin87 on Thursday, July 16 2015, 01:09 PM · Hide· #16
    line30 in /opt/sitios/radiourbanasf/public_html/modules/mod_minik2/tmpl/portfolio/default.php
    <img src="/<?php echo resizeImageHelper::getResizedImage(''.$item->image, $tmbWidth, $tmbHeight, $option); ?>" alt="<?php echo $item->title; ?>" style="height:<?php echo $tmbHeight; ?>px; width:<?php echo $tmbWidth; ?>px" />
  •  
  • Replied by chapullin87 on Thursday, July 16 2015, 01:09 PM · Hide· #17
    lines 63 and 64

    $width = imagesx($img);
    $height = imagesy($img);
  •  
  • Replied by admin on Thursday, July 16 2015, 03:13 PM · Hide· #18
    Hi chapullin, it looks like your K2 version is different with mine. How did you get the version 2.7? The http://getk2.org/ still provides the 2.6.9 version
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by admin on Thursday, July 16 2015, 03:17 PM · Hide· #19
    Hmm ok, it looks like you use the dev build, that is not tested with minik2 yet. I'll have a look on it and let you know the result
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  •  
    Replied by admin on Thursday, July 16 2015, 03:43 PM · Hide· #20
    Ok, I have installed the dev build of k2 (2.7) and installed minik2 module. But they are works properly together, I'm still unable to replicate your issue. Sorry about that. Please have a look on this video.
    https://www.dropbox.com/s/c3cfpe3tdctp6ex/minik227.mp4?dl=0

    Anyway, Have you ever tested to run mini k2 on your localhost? Does it work properly? How did you transfer your website from localhost to live server? I'd personally recommend you to use akeeba backup to transfer website from local to live server to avoid some issues just like permission etc.
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
Your Response
Please login first in order for you to submit comments