News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Thumbnail doesn't show in modules [Fixed in 3.2.15]

Started by Evo, 28.07.2014 04:04:03

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Evo

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!  ;)
  •  

Evo

Jdownloads Modules thumbnail doesn't shown up, but the main plugin works well. Why?

[gelöscht durch Administrator]
  •  

ColinM

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
Colin M
  •  

Evo

Yes of course! I really don't know what am I doing wrong.


[gelöscht durch Administrator]
  •  

ColinM

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
Colin M
  •  

Evo

Okay, I'm waiting for the solution.  :)
  •  

Arno

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.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Evo

  •  

water

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
  •  

appukonrad

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
  •  

Arno

Hi,
thanks for the hints. I have it now fixed in all modules for next beta 3.2.15.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •