jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Bugs => Topic started by: Evo on 28.07.2014 04:04:03

Title: Thumbnail doesn't show in modules [Fixed in 3.2.15]
Post by: Evo on 28.07.2014 04:04:03
Hello everybody!

I'm using Joomla 3.3.1 right now, and the latest JDownloads. Some of the modules (Top downloads, Latest downloads) doesn't shows the thumbnail picture. Is there any solutions? I don't know why, maybe not 100% compatible with the latest Joomla version, but I would like to fix it.

Thanks for the help!  ;)
Title: Re: Thumbnail doesn't show
Post by: Evo on 05.08.2014 04:34:39
Jdownloads Modules thumbnail doesn't shown up, but the main plugin works well. Why?

[gelöscht durch Administrator]
Title: Re: Thumbnail doesn't show
Post by: ColinM on 08.08.2014 02:22:24
Hi
In the picture you attached it shows the 'No-thumbnail' pic.  Did you set "Create Thumbnails from uploaded pics? " to Yes in Config Pictures tab.  Also "Use this also for auto monitoring?"

Colin
PS it would assist if you attached  a screen shot of the relevant part of the Config Pictures Setup
Title: Re: Thumbnail doesn't show
Post by: Evo on 08.08.2014 03:48:07
Yes of course! I really don't know what am I doing wrong.


[gelöscht durch Administrator]
Title: Re: Thumbnail doesn't show
Post by: ColinM on 08.08.2014 15:17:22
Hi,
I am reproducing what you are seeing.  Have looked at code.  Think this is a bug so I will move this topic to Bugs.
Colin
Title: Re: Thumbnail doesn't show bug
Post by: Evo on 08.08.2014 17:51:22
Okay, I'm waiting for the solution.  :)
Title: Re: Thumbnail doesn't show bug
Post by: Arno on 10.08.2014 22:34:26
Sorry for the delay.
It seems that we have here a bug in the modules since the thumbnail db fields was changed. I will check and fix this very soon.
Title: Re: Thumbnail doesn't show bug
Post by: Evo on 10.08.2014 22:35:24
Thank you!  :)
Title: Re: Thumbnail doesn't show in modules
Post by: water on 22.09.2014 06:07:43
Any fix for this yet? I'm having the same problem and will like to get it fix as well thank you very much for your hard work Arno and ColinM
Title: Re: Thumbnail doesn't show in modules
Post by: appukonrad on 15.10.2014 17:45:54
new versions use the images in a table column, but the template uses data from an empty column thumbnail

small adjustment in the template fix problem in version  3.2.14 Beta

add :

$help_for_image = explode("|",$files[$i]->images);
$image_jdownload = $help_for_image['0'];

(0 for the first image, 1 for the second image, ....)

change :
$files[$i]->thumbnail to $image_jdownload

example :

// add the first download screenshot when exists and activated in options
    if ($view_thumbnails) {
        $help_for_image = explode("|",$files[$i]->images);
        $image_jdownload = $help_for_image['0'];
        if ($image_jdownload) {
            $thumbnail = '<img class="img" src="' . $thumbfolder . $image_jdownload . '"  width="' . $view_thumbnails_size . '" height="' . $view_thumbnails_size . '" border="' . $border . '" alt="' . $files[$i]->file_title . '" />';
        } else {
            if ($view_thumbnails_dummy) {
                $thumbnail = '<img class="img" src="' . $thumbfolder . 'no_pic.gif"  width="' . $view_thumbnails_size . '" height="' . $view_thumbnails_size . '" border="' . $border . '" alt="" />';
            }
        }
        if ($thumbnail)
            echo '<div class="jdhomepic" style="padding-bottom: 3px;"' . $alignment . '">' . $thumbnail . '</div>';
    }


fix is not optimal, but functional
should be added in the administration of the option to select an image to display
Title: Re: Thumbnail doesn't show in modules - [Fixed in 3.2.15 !]
Post by: Arno on 16.10.2014 00:12:53
Hi,
thanks for the hints. I have it now fixed in all modules for next beta 3.2.15.