How to resize newsfeed images in oxwall 1.5

 After I upgraded to oxwall 1.5, I discovered that my newsfeed images appear as a small thumbnail on the newsfeed and enlarges only when clicked. I needed something different so I posted a forum topic on the oxwall forum but the answers I received wasn’t convincing enough, usually, I would either ignore the whole idea and move on but this time I chose to play with custom coding, here is the result.

Re-size Newsfeed Images?
The oxwall newsfeed plugin automatically re-sizes the width of images on the newsfeed to 150px, If you wish to change this and use a custom size simply follow the step to step guide below.

  • Login to your cpanel/ftp
  • Locate ajax_oembed_attachment.html in (/ow_system_plugins/base/views/components)
  • Download this file (for backup purpose)
  • Open/Edit  ajax_oembed_attachment.html
  • Find (use ctr+f for find):

(‘.ow_oembed_attachment’),{width:’150′})

  • Replace the above code with:

(‘.ow_oembed_attachment’),{width:’350′})

  •  Now find (use ctr+f for find):

.ow_oembed_attachment .two_column .attachment_left {
float: left;
max-width: 150px;
margin-right: 8px;
}

  • Replace this code with:

.ow_oembed_attachment .two_column .attachment_left {
float: left;
max-width: 350px;
margin-right: 8px;
}

 

Did you get the answer you were searching for?

Save hours of searching online or wasting money testing unnecessary plugins, get in touch with me and let's discuss a suitable plan for your project. Best thing about this service is that you are never placed on hold and get to talk to an expereinced Oxwall/Skadate developer.

Get Answers for Free!

Ask a question related to this topic and get immediate answers from other community members in 48hrs or less. Contribute by answering members questions.

Ask Question
Premium Service

Whether it's a custom plugin, theme or dedicated support needed to get you started on your project, get professional 24/7 support tailored to your need.

Get in Touch

Or just leave a comment...

Leave a Reply