![]() |
|
Picture size - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Picture size (/thread-129.html) |
Picture size - faramineux - 2005-10-30 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. Picture size - RogerUsh - 2005-10-31 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 [i]config.php[/i] file larger than the actual image, then nothing will be resized. To remove the link to the original file, just delete the lines: `">` and the trailing: `` from [i]image.php[/i] in your theme's folder and you should be all set. Picture size - faramineux - 2005-10-31 Many thanks! Picture size - tiwan - 2005-11-11 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 `<a>s</a>` code as faramineux said, and replace the `<?php printDefaultSizedImage(getImageTitle()); ?>` by `[img]<?=getFullImageURL();?>[/img]">` which gives the original picture. Hope it helps... Picture size - trisweb - 2005-11-12 Yep, that'll do it. |