Why picture is limited at 1200x1200? How to auto resize photo?

To link to a larger picture, the picture size will be limited in 1200 x 1200pxInto a square picture.

For example, the original photo size is 2048 x 1360, Using the same scaling photo, it should become 1200 x 797 (3:2 photo)

How to automatically reduce the image to the correct ratio (3:2), and is limited to less than 950px width?

For example, add a javascript to img resizemod="ononload="rmw_img_loaded(this)" ??

see below:

http://vanillaforums.org/discussion/899/automatic-image-resizing-to-keep-forums-uniform

 

demo

https://www.insoler.com/ The first community site supports RAW photo formats !
Quote · 28 Aug 2012

When will you folks learn to give complete details?  Where is the image being placed?  It's easy to fix this, but first we have to know what to fix.

To link to a larger picture, the picture size will be limited in 1200 x 1200pxInto a square picture.

For example, the original photo size is 2048 x 1360, Using the same scaling photo, it should become 1200 x 797 (3:2 photo)

How to automatically reduce the image to the correct ratio (3:2), and is limited to less than 950px width?

For example, add a javascript to img resizemod="ononload="rmw_img_loaded(this)" ??

see below:

http://vanillaforums.org/discussion/899/automatic-image-resizing-to-keep-forums-uniform

 

demo

 

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Aug 2012

Wow! That's great! How can I to do this? "install a auto resize plugin in TinyMCE? or modify HTMLPurifier?

https://www.insoler.com/ The first community site supports RAW photo formats !
Quote · 28 Aug 2012

curious now too.

is this what we need to do to tiny?

http://www.tinymce.com/wiki.php/Plugin:autoresize

 

Initialization Example

tinyMCE.init({
        theme
:"advanced",
        mode
:"textareas",
        plugins
:"autoresize"
});

Options

Name Summary
autoresize_min_height Min height value of the editor when it auto resizes.
autoresize_max_height Max height value of the editor when it auto resizes.

 

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 28 Aug 2012

 RE:

Wow! That's great! How can I to do this? "install a auto resize plugin in TinyMCE? or modify HTMLPurifier?

 Neither.  It's a simple css change.  Whenever you decide to tell me where the images are being posted, I'll tell you how to fix it.  Blogs? Forums? Ads? Articles? 

What???

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Aug 2012

How about all? Just kidding!! Blogs, Forums, Articles... should be similar.

Use javascript programming, users can use the mouse to click picture to enlarge the picture to its original size.

for example:

http://www.photoshopforums.com/photoshop-cars-ive-been-working-on-to-try-and-rehone-skills-vt18054.html

 

please click this picture in that website.

demo

https://www.insoler.com/ The first community site supports RAW photo formats !
Quote · 29 Aug 2012

Let's start with blogs.  Try adding this to the end of these two css files:

modules/boonex/blogs/templates/base/css/blogs_common.css

modules/boonex/blogs/templates/base/css/blogs.css

 

.blog_text2 img {
height: auto !important;
max-width:600px !important;
}

.blog_text img {
height: auto !important;
max-width:600px !important;
}

As usual, clear all cache directories after making the change.  Report back with the results.... try not to take 2 days.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 29 Aug 2012

Frequently use modules bug all fixed, really thank you very much !

https://www.insoler.com/ The first community site supports RAW photo formats !
Quote · 31 Aug 2012
 
 
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.