highlander Posted March 7, 2011 Report Share Posted March 7, 2011 I can get images to resize in the regular post, but uportal will not resize... Is there a way we can make uportal resize images to either column width or a specified maximum width? Or to follow the posts settings on ACP? Thanks Quote Link to comment Share on other sites More sharing options...
Management Michael Posted March 8, 2011 Management Report Share Posted March 8, 2011 Is this for an attachment or external image? Quote Link to comment Share on other sites More sharing options...
KiLaTeS Posted March 8, 2011 Report Share Posted March 8, 2011 that happen to me also, its on an external image if is the same problem as me... I always edit the images and make them smaller before I post... but if there is anything that can be fixed... will be apreciated :) Quote Link to comment Share on other sites More sharing options...
Management Michael Posted March 9, 2011 Management Report Share Posted March 9, 2011 I've only tested this with the inbuilt "News" settings from uPortal but should resize those external images. Open Admin CP > Look & Feel Tab > select skin > skin_uportal > portal_end. Find: </table> Add BELOW: <script type='text/javascript'> ipb.vars['image_resize'] = {parse expression="intval($this->settings['resize_linked_img'])"}; ipb.global.post_width = 500; // Resize images $$('.post', '.poll').each( function(elem){ ipb.global.findImgs( $( elem ) ); }); </script> Save. Open Admin CP > Look & Feel Tab > select skin > skin_uportal > news_block. Find: <td class='row2'><if test="limitNewsHeight:|:$newsforum_height==1"> Replace With: <td class='post'><if test="limitNewsHeight:|:$newsforum_height==1"> Save. Quote Link to comment Share on other sites More sharing options...
highlander Posted June 3, 2012 Author Report Share Posted June 3, 2012 hm..... no worky :( Quote Link to comment Share on other sites More sharing options...
Management Michael Posted June 6, 2012 Management Report Share Posted June 6, 2012 Tried with external images? I think this was for IPB 3.1, not tested with 3.2. Do I still have access on your site? I can add the edits and test. Quote Link to comment Share on other sites More sharing options...
highlander Posted June 6, 2012 Author Report Share Posted June 6, 2012 Yes you still have access... currently fixing all the stuff for uportal and group color mod!!! oh god... Try to do a test with photobucket which is what I use and what most people use! Quote Link to comment Share on other sites More sharing options...
highlander Posted June 6, 2012 Author Report Share Posted June 6, 2012 Done... Group format now accurately appears on uportal!!!!!!!!! Quote Link to comment Share on other sites More sharing options...
Management Michael Posted June 7, 2012 Management Report Share Posted June 7, 2012 Yes you still have access... Sorry too many pms, would you mind sending me a pm. Bit busy now but should have some time before the weekend to take a look. Quote Link to comment Share on other sites More sharing options...
highlander Posted June 13, 2012 Author Report Share Posted June 13, 2012 Were you able to check? Thanks a bunch!!!!! Quote Link to comment Share on other sites More sharing options...
Management Michael Posted June 14, 2012 Management Report Share Posted June 14, 2012 Looks like the code I'm using was removed in IPB 3.3.x. This is now a setting in the admin cp "Automatic resize image force size". If you enter 300, it would then limit external images to 300px x 300px. Quote Link to comment Share on other sites More sharing options...
highlander Posted June 17, 2012 Author Report Share Posted June 17, 2012 Thanks... entered 640, we'll see how it goes!!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.