We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Pictures and Link banner - Attachments | Forum

Steve
Steve Aug 26 '19
How can I increase the size of the Photos shared and the links the pictures are to small how can I make them bigger.


Sergey Kambalin
Sergey Kambalin Sep 3 '19
Hello Steve,


The photo size in Newsfeed is 400px maximum and these are standard dimensions from Oxwall Photo plugin. Attachments plugin does not control this value. To enlarge photos posted in Newsfeed you need to make code modification in Oxwall Photo plugin as well as  in theme CSS.


Photo files to modify:

ow_plugins/photo/bol/photo_service.php (DIM_PREVIEW_HEIGHT/DIM_PREVIEW_HEIGHT constants)


And you need to add this CSS code from admin panel:


html .ow_newsfeed_item_picture img {  max-height: 600px;}
html .ow_newsfeed_large_image .ow_newsfeed_item_picture {  max-width: 600px;}


Regards,

Sergey Kambalin

You do not have permission to reply this topic