OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

MediaLibary Component Support

Go to bottom Favoured: 0

Thumbnail Image Size

degarrin (Visitor)
Posts: 0
graphgraph
User Offline
Thumbnail Image Size 11 Years, 3 Months 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)
Admin
Posts: 8228
graph
User Offline Click here to see the profile of this user
Re:Thumbnail Image Size 11 Years, 3 Months ago
Karma: 101  
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
»