Blog Photo Size

I would like to find the code where you define the blog photo size.  Currently it's set at 110x110 pixels.  I would like to make the photos bigger as well.  Where can I find the function that re-sizes the photos?  Thank you.

Example of photo

http://www.saltyworld.com/blogs/entry/September-23rd-2009-Back-from-the-Keys-and-Mosquito-Lagoon-report

Quote · 18 Nov 2009

You can try editing /inc/classes/BxDolBlogs.php
(probably a good idea to backup and download the file before making any changes first though)

Search the file for: 110

It's a fairly large file. You will find near the top:

//max sizes of pictures for resizing during upload
var $iIconSize = 45;
var $iThumbSize = 110;
var $iBigThumbSize = 340;
var $iImgSize = 800;

(you could change the 110 to larger)


And further down in the file:

$sPostPictureTag = '<div class="marg_both_left"><img alt="" style="width: 110px; height: 110px; background-image: url('.$site['blogImage'].'big_'.$sPostImage.');" src="'.$sSpacerName.'"/></div>';

(you can mess with the 110px here too).


Don't expect what you have already posted/uploaded to change to your new larger size, as it has already been uploaded and sized to 110x110. You will either have to make a new blog post, and/or edit a current post and re-upload/re-add the image, so it will be resized with your new size settings.

If it don't work for what you are trying to do simply restore the original /inc/classes/BxDolBlogs.php

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 19 Nov 2009

Thank you very much!  I will try this Cool

Quote · 19 Nov 2009
Quote · 30 Nov 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.