0
http://www.soundmic.co.za/index.php/albums
Hi All,
How do I change the width of the pictures themselves in the image block?
width:100% and height: say about 200px?
If it has to be done manually - in which file do I edit to achieve this so that there is no grey block on the side of the images and that they fit perfectly?
Thanks
Hi All,
How do I change the width of the pictures themselves in the image block?
width:100% and height: say about 200px?
If it has to be done manually - in which file do I edit to achieve this so that there is no grey block on the side of the images and that they fit perfectly?
Thanks
Responses (5)
-
Accepted Answer
0you mean in that particular page? the thumbnails?
you can set the width to 100% with CSS..-
Manqobamore than a month agoyeah, so I need the thumbnails to stretch to fit the grey frame/block/div in both artists and albums - and this will be the same settings for any new additional artist pic/album pic in the future?
http://www.soundmic.co.za/index.php/albums
Right now the height:160px; and its an element style, I'm not sure which file to edit to change this feature and I tried looking in the css3effects.css in the mlable template css folder
-
-
Accepted Answer
0Do I change the following:
if ($width && !$height){
$height = $src_size[1] * $width / $src_size[0];
} else if ($height && !$width){
$width = $src_size[0] * $height / $src_size[1];
} else if (!$width && !$height){
$width = $src_size[0];
$height = $src_size[1];
}
Found this in com_muscol - helpers - image.php - lines 53 to 60
If so - please help me change this so the images width is 100% and the height is 200px for each and every album and artists thumbnail picture? -
Accepted Answer
-
Accepted Answer
0Hi guys, I'm still struggling with this.
I'm trying to get this page:
http://soundmic.co.za/index.php/albums
To look like this page:
http://www.joomlathat.com/music-collection/artists
Only the images, see the images have a set width, which is great, but for some reason it is shrinking the image and forcing a grey block on the side. How and where can I change this so the images fit properly and the height is in proportion to the width?
Thanks alot! -
Accepted Answer
0It is somehow putting inline style into each image making the height 160px, how can I change this?
Thank you! :-)-
Germinal Campsmore than a month agowell if you need this in the MODULE (featured artists), the place would be /modules/mod_muscol_featured_artsists/tmpl/grid.php
-
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »