Hi Emily,
Can you share how you did this?
Thanks
use css: max-width: 550px;
@markhahnel it was just a case of updating bp-tinymce.php
`theme_advanced_buttons1` to include: image
@ezeke that was the first thing I tried but it doesn’t really work as tinymce gives the images a height, so it just seems to change the dimensions.
The other thing I could do is remove the ability to set the dimensions, if anyone can help with that
OK, looks like I need to go into the /wp-includes/js/tinymce/themes/advanced/image.htm file to make these changes
still no further, can anyone help?
@ewebber thanks for this, it almost work for me…
I’ve put image on line 51 of bp-tinymce.php. Then I was able to upload a photo in a comment with the specified dimension (have to take care of the ratio) and write some text. But when I’ve tried to post my comment, it says something like the field was empty, to post something in this field (everything was in french you know!!!)
So I must miss something somewhere…
Update: It works everywhere exept in bp-gallery photo comments (old version, I’ll try with the last release)
@claudeg did you find a way to specify a default dimension?
@claudeg – I am looking for a way to remove the dimensions box or set a default size, which is why I started this topic
Can anyone else help me? @boonebgorges – can you help at all
@ewebber – Did you do what Ezeke suggested? Worked for me on forums:
.post-content img { max-width: 400px; height: auto }
@boonebgorges thanks, I can try to work with CSS cross browser, but I’ll need to find the right class/div that doesn’t effect the blog posts – just a case of fiddling around a bit. I’m really interested to know if there is a way that users can embed images in posts without being presented with a load of options – they just need to use the image url and an alt tag rather then align it or use a class. As this plugin hooks into wordpress’ TinyMCE editor than it may just not do what I am after. I will continue the search.