Picture size

Why 595 and not 600 px? :)
I prepare my pictures in Photoshop, so I do not want them to be compressed again. Where do I change the code to keep them the way they are?
Since my pictures are the size they should be I also want to remove the link to LARGER picture.
Thanks. I love your software.


  • I haven't tried this myself, but I think with the lastest version of ZP, if you enter a value for `'image size'` in the config.php file larger than the actual image, then nothing will be resized.

    To remove the link to the original file, just delete the lines:

    `" title="<?=getImageTitle();?>">`

    and the trailing:


    from image.php in your theme's folder and you should be all set.
  • Many thanks!
  • In fact it tried anyway to make a 'sized' picture of the original, which can get very annoying when this one is quite big (wallpaper)... Actually my webserver gets too busy when creating this picture, so I figured out to bypass this process:
    in the <i>image.php</i> of your template, remove the `s` code as faramineux said, and replace the
    `<?php printDefaultSizedImage(getImageTitle()); ?>` by
    `image" alt="<?=getImageTitle();?>">`
    which gives the original picture.
    Hope it helps...
  • trisweb Administrator
    Yep, that'll do it.
Sign In or Register to comment.