Hello
I add a image in a discussion. It display square and also small similar to gallery
In past I had tried changeing image size in activity and I think it efected also discussion.
I tried:
Why this happen?
Help please...
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 1 like
- Selen@Nesuhiselen
Selen - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
You must log in to post replies.Embed content don't use TidyPics settings.
If you talk about the bundled 'embed' plugin then you can change (by copying this file to your custom plugin with same path):
Replace this string:
With:
Clean the caches.
Thank you RvR. Indeed now it display normal size image embedded in group discussion.
But if I create a elgg test site from zero and then I embed image in group discussion and size of image is already fine large size. No need to change code -- code is default
return match.replace('small', 'medium');
But my existing elgg site I have to change the code.
Then I think because for my existing elgg site also code is complete new after 2.3.14 upgrade (i delete old code and copy new code therefore no overwrite) why this happen in existing site and not in test site from zero? Code same. In update what not complete change? a-database b-data files
Maybe embed keep a value in database to understand what is large what i medium and that value stays somewhere?
The embedded content is saved as a description for each entity in the DB.