OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
MediaLibary Component Support
Go to bottom Favoured: 0
TOPIC: Thumbnail Image Size
degarrin (Visitor)
Posts: 0
User Offline
Thumbnail Image Size 7 Years ago Karma: 0  
Hello, I am having an issue where the thumbnails for the component and the modules are not showing at a consistent size. I do have a default media image size set up in my component settings as 150/120. I have attached a screenshot to illustrate the issue. Any assistance is appreciated. Thank You!

Logged Logged  
  The administrator has disabled public write access.
admin (Admin)
Posts: 6676
User Offline Click here to see the profile of this user
Re:Thumbnail Image Size 7 Years ago Karma: 78  

True say difficult say what need do, in base version these setting must work, but for you all look like these are some body some thing rebuilt.

In core media libary version
You need open file:
{yours site}/components/com_medialibrary/medialibrary.html.php

find function: displayMedias

and in it will code:


if($imageURL != ''){
echo '<img src="';
echo $imageURL;

echo '" alt="cover" border="0" height="50" />&nbsp;';
} else{
echo '<img src="/components/com_medialibrary/images/';
echo '" alt="no-img_eng.gif" border="0" />&nbsp;';

so : height="50"

set correct height for all images

But any way before any code change - save file backup !!!!
Thank ,
OrdaSoft team
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many head has a typical person?