UPDATES EasyBlog 6.0.14 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 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

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