UPDATES EasySocial 4.0.15 Released! Joomla 5.x and PHP 8.x compatible 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 online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Wrong format for image inside easyblog articles

Valentin Barbu · ·
4:47 PM Monday, 15 December 2014
None
Hello guys,

I`ve sent this already to Mark, but wanted to make sure he does not miss it somehow, so here is the problem:

When you insert an image inside your easyblog article using the lightbox option, here how the code for that image looks like:


<a class="easyblog-thumb-preview" title="Image caption here" href="http://wwd.domain.com/images/easyblog_images/778/image002_20141214-122118_1.jpg"><img class="" style="display: block; margin-left: auto; margin-right: auto;" title="Image caption here" alt="b2ap3_thumbnail_image002_20141214-122118_1.jpg" src="/http://www.domain.com/images/easyblog_images/778/b2ap3_thumbnail_image002_20141214-122118_1.jpg"></a>



so you see that this part:



<img class="" style="display: block; margin-left: auto; margin-right: auto;" title="Image caption here" alt="b2ap3_thumbnail_image002_20141214-122118_1.jpg" src="/http://www.domain.com/images/easyblog_images/778/b2ap3_thumbnail_image002_20141214-122118_1.jpg">



You place title="" and also alt=""

While normally valid for <img is only alt="", while title="" is just for a href

Also you see that the alt="" is using image file name instead of Image caption I`ve provided

So in the end the valid code for img src should be:



<img class="" style="display: block; margin-left: auto; margin-right: auto;" alt="Image caption here" src="/http://www.domain.com/images/easyblog_images/778/b2ap3_thumbnail_image002_20141214-122118_1.jpg">



Regards
The replies under this section are restricted to logged in users or users with an active subscription with us