0
Hi

I would like the size of the bigger thumbnails by default from 115px to 200px cause this fits our layout. Is there a way to do this?

Thanks
mm
Responses (4)
  • Accepted Answer

    Thursday, May 21 2009, 02:26 PM - #Permalink
    0
    you have three possibilities:

    1 - change the code that generates the 115px thumbnails to generate 200px thumbs instead

    2 - use the original image (no thumbnail) but limitating the display size to 200px (adding a "width:200px;" CSS property, for instance). you'd have to change all the references to the folder "images/albums/thumbs_115/" to just "images/albums/" ... :S

    3 - wait for the next version of MC, where thumbs will be generated dynamicly and you'll be able to choose what size you want to use in each case. before you ask, there's no release date yet for the new version ;)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 21 2009, 04:11 PM - #Permalink
    0
    Hi, thanks – I'd to to change the size of the generated thumbnails -> #1, but have no idea how to do that.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 21 2009, 05:36 PM - #Permalink
    0
    open administrator/components/com_muscol/tables/album.php

    on lines 164 you'll see this:

    $this->createThumb($filename,"../images/albums/thumbs_115/",115);

    just replace with

    $this->createThumb($filename,"../images/albums/thumbs_115/",200);

    the same in line 171

    hey, but if you do that, remember this lines you modified, because future updates of the component may overwrite this file... :) up to you!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 21 2009, 05:47 PM - #Permalink
    0
    Thanks – great support. I'll remember the lines, but as you mentioned before the lines will change anyway ;-)
    The reply is currently minimized Show
Your Reply