Automatically uploaded image fail to resize

Automatically uploaded image fail to resize

 

I bought Dolphin 7.1 few week back, installed by professional, I have noticed when I am uploading image, it do not re-size itself and display correctly.

 

Eg:- I have created recent sites but when I view Mysite it show some part of image, its due to failing to resize its own, I bought new module hot or not having similar issue, spoke to developer he mentioned it’s not only his module all other are showing similar output.

 

I was told to check php.ini file because php.ini  is responsible for resizing image, when I ftp to my site noticed two file see below, which I matched with one forum which looks fine

 

php.ini.bak.1406705044

post_max_size = 1000

upload_max_filesize = 1000

memory_limit = 256M

 

php.ini.bak

post_max_size = 1000

upload_max_filesize = 1000

memory_limit = 256M

 

I have attached the error image for reference, can someone please advice me how to fix the issue

 

www.socialwebpower.com

 

http://www.socialwebpower.com/m/sites/browse/my

cheers

Adam

 

 

 

 

ImageResizeIssue.JPG · 62K · 242 views
ImageResizeIssue2.JPG · 73.3K · 233 views
Quote · 4 Sep 2014

First of all, it is just php, php.ini is the configuration file that sets some parameters for php, such as image upload sizes.  You listed two bak files which means those php.ini files are not active.

Yes, it appears that the uploader is not resizing your images and creating the proper thumbnails.  However, we first need to see the settings under the photo module.

Geeks, making the world a better place
Quote · 4 Sep 2014

Note: any photos uploaded prior to any changes or fixes will not be changed; your members will have to reupload once the issue has been corrected.

Geeks, making the world a better place
Quote · 4 Sep 2014

thanks Geek_Girl, please find attached photo setting, how to activate php.ini

photosetting.doc · 582.5K · 207 downloads
Quote · 5 Sep 2014

It is happening because you have your photo size settings at sizes that exceed the size of the container they are going in.

Example. In the hot or not block on the home page, the container the image is in is 140px. That container uses the image of photo browse unit which by default is 140px. However you have set it to 400x400. So what is happening is it is trying to stuff a 400x400px image into a 140px container. It does not fit and thats why it does not look right.

Your images are resizing properly to the sizes you specified. It's just your not understanding how the images are used.

If your going to set the photo browse unit photo size to 400x400 then you also need to change the css of the photo areas that use that to the proper size as well which you have not done. Of course a 400px wide image would not even fit into the column the hot or not block is in even if you did resize the container the image is in.

https://www.deanbassett.com
Quote · 5 Sep 2014

Deano answered on the photo size; which is why I asked to see what you had set in the settings.

php.ini is not activated as such.  You have a php.ini file that sets certain parameters for php, such as file upload sizes.  We can recommend some changes to the php.ini file that will be best.

Geeks, making the world a better place
Quote · 5 Sep 2014

First I will like to thanks Geek_Girl and EmmetBytes thanks you sooo much both guys,

First Fix:- Image not resizing itself

Solution:-

Please open this file templates/base/css/twig.css and just find the text
.bx-twig-unit-thumb-cont img {
      background-color: white;
}
 
.bx-twig-unit-thumb-cont img {
     background-color: white;
     width: 100%; //add this line
}

 Add the "width: 100%;" line on it. Hopefully this will help you.

Regards,

EmmetBytes

second solution provided by Geek_Girl to change fro 400px to 140 and it worked

thanks again to both guys

Quote · 7 Sep 2014
 
 
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.