How to resize main albums thumnails ?

Hi, i'm using 1.1.0zp,

I can't change size of the main album thumbnails, it's resized to 85x85px but i can't figure it out where i can change it.

Thanks for any reply ;)

edit:
i forgot, i'm using default theme of 1.1.0 version ;)

Comments

  • lamus Member
    Anyone? :)

    Where is definition of size of main thumbnails?

    I'm lookin everywhere, in theme files, styles even in core files but i can't find it :(

    I just wanna bigger thumbnails in main page of gallery, in options in admin backend i can change entire album thumbnails size and cropping but there no settings for main page thumbs...

    Please help me ;) and sorry for my english ;)
  • acrylian Administrator, Developer
    The default album thumbs use the same size as the image thumbs. If you want them to be different you need to modify your theme to use one of the custom album thumb functions. Please see the theming tutorial and the functions documentation.
  • lamus Member
    Really i don't get it.

    In admin backend i got the thumbs size set to 150x150px and it's ok. But the thumbs on main page are always the same - 85x85px.

    Where is theming tutorial ? :)
  • lamus Member
    Ok i found the theming tutorial but there is no explanation of editing thumbnails size, i guess the getImageThumbnail function is responsible for showing thumbs on main page, i'm lookin in index.php of my default theme but i can't figure it out how to change the thums size

    i'm totally lost :) please show me the fragment of code which is responsible for showing thumbs on main page
  • acrylian Administrator, Developer
    Of coures the theming tutorial tells the BASICS and it will never explain every function available. Look at the function documentation and search for image functions containing "custom" in the name. You have to modify your theme to use one of these.
  • lamus Member
    Ok, i think i get it, i only changed in index.php in folder theme the getImageThumb to getCustomImageThumb and defined in template-functions.php the size of thumbs, it's changed but now above the image i get the warning code:

    "Warning: Missing argument 2 for printCustomAlbumThumbImage(), called in /public_html/zen/themes/default/index.php on line 28 and defined in /public_html/zen/zp-core/template-functions.php on line 492"

    what i doin' wrong? please help me, my php knowledge is really basics :)
  • acrylian Administrator, Developer
    You apparently did not set the parameters right. See the guide how to read the functions documentation on our user guide.
  • lamus Member
    Now i really get it ;) and see the all i need is here but i can't find it.

    Thanks for help, i set only a width parm, height is auto, working pretty cool ;)

    Now i got to edit css styles, that will be easy :)

    PEACE
Sign In or Register to comment.