Auto Image Resizing and compression

0
would be cool if user could specify how large they would like the album artwork and artist photos without editing the PHP.

Also, it would help loading times if the user uploaded a 1024xXXX image of the artist and JMC downsized and compressed the image to the correct size to help with loading the pages faster...

lol idk, just an idea...
Responses (3)
  • Accepted Answer

    Adam
    Adam
    Offline
    Monday, January 10 2011, 03:26 PM - #Permalink
    0
    You can specify the size of the artist image in the Parameters but I can't figure out a way to resize the album images, they take up half the width of the page :( Can this be edited in a file somewhere?

    Example:

    http://my-music-and.me/index.php?option=com_muscol&view=album&id=1

    200x200pixels would be enough.

    Adam
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 11 2011, 05:56 PM - #Permalink
    0
    images on album page are not resized "by code", but simply by CSS. this is made to avoid loosing image quality.
    changing the size is as simple as going to the CSS file for the album page, which is /Components/com_muscol/assets/css/album.css line 45

    .imatge_gran

    there we define the width of the image... (300px by default)
    The reply is currently minimized Show
  • Accepted Answer

    Adam
    Adam
    Offline
    Tuesday, January 11 2011, 07:12 PM - #Permalink
    0
    Hi thanks! I figured it all out using Firebug, I made the images smaller and also adjusted all the other elements to the right of the image: comments box, album info, etc.

    So far I thing I have it all worked out!

    Thanks!

    Adam
    The reply is currently minimized Show
Your Reply