Customize URL in Group Widget
I like to modify the image URL avatar displayed in groups widget. For example, say an image with a group avatar that has a URL of http://domain.com/myimage.jpg. I want to prefix that URL with one of Cloudinary’s URL (e.g. http://cloudinary.com/mycloudname/30/30/http://domain.com/myimage.jpg, which would create a 30×30 rendition of the image for example).
I have manage to prefix the url in BP_Groups_Widget class(plugins/buddypress/bp-groups/classes/class-bp-groups-widget.php) line 132. I know this is not the right thing to do to modify the core but I can’t find an alternative way.
Any suggestion on how to do this without touching the core?
- You must be logged in to reply to this topic.