UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

Little bug in "mod_easysocial_pages"

Kirill Pilipenko · ·
4:44 AM Saturday, 10 March 2018
High
Hello guys. So you have this module mod_easysocial_pages which display pages from EasySocial.
It works great. But there is one issue.

It downloads pages backgrounds in full size. It increases webpage download speed A LOT
I have 4 groups in this module only - but it's already almost 2 extra mb of data. Look at the screenshot
https://sun9-5.userapi.com/c840731/v840731483/6425b/lIbNZUAU5s4.jpg

Here is line from this module code :

<div style="background-image : url(/<?php echo $page->getCover()?>;);
background-position : <?php echo $page->getCoverPosition();?>" class="mod-card__cover">



I did check, for every page background you have different versions:

  • _thumbnail
  • _stock
  • _large


In our case by request $page->getCover()? we are getting " _large"
Tell me please, how can I request for "_thumbnail" version of the picture?

P\s I tried to find it in Mysql but no results. That's why I'm asking you

Do you have some documentation with all this $page->(something)?
Because more I working with EasySocial more small bugs I'm finding. I don't want to disturb you every time =)
The replies under this section are restricted to logged in users or users with an active subscription with us