OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
MediaLibary Component Support
Go to bottom Favoured: 0
TOPIC: Thumbnail Image Size
#6176
degarrin (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Thumbnail Image Size 4 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.
#6181
admin (Admin)
Admin
Posts: 4882
graph
User Offline Click here to see the profile of this user
Re:Thumbnail Image Size 4 Years ago Karma: 61  
Hello,

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:

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 _MEDIALIBRARY_NO_PICTURE;    
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 eyes has a typical person?