Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jrothra

    (@jrothra)

    I noticed that the space for the image is there, but the image is not. Here’s the code I’ve used for the image

    With caption
    [caption id="attachment_42" align="alignleft" width="237"]<a href="https://www.1xevangelism.com/wp-content/uploads/2015/03/JohnLRothra-800x922-e1425759385312.jpg"><img src="https://www.1xevangelism.com/wp-content/uploads/2015/03/JohnLRothra-800x922-e1425759385312-237x300.jpg" alt="Dr. John L. Rothra" width="237" height="300" class="size-medium wp-image-42" /></a> Dr. John L. Rothra, author of <em>1X Evangelism</em>.[/caption]

    No caption
    <img src="https://www.1xevangelism.com/wp-content/uploads/2015/03/1XEvangPBCover3D-1652x2156-230x300.png" alt="1X Evangelism: A Kingdom Growth Strategy for the Local Church by John L. Rothra" width="230" height="300" class="alignleft size-medium wp-image-20" />

    Thread Starter jrothra

    (@jrothra)

    Since there’s no URL to see, here’s screenshots:

    Image, no caption: https://drive.google.com/file/d/0B4mnNZ1F-EDsUEQwbmlMSHR1UnM/view?usp=sharing

    The book should be displaying in that space on the left.

    Image, with caption: https://drive.google.com/file/d/0B4mnNZ1F-EDsN09SZHRXbHdKUkE/view?usp=sharing

    Again, the image should be on the left.

    Thread Starter jrothra

    (@jrothra)

    I noticed that for the non-captioned image, the site is converting the code to this:

    <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://www.1xevangelism.com/wp-content/uploads/2015/03/1XEvangPBCover3D-1652x2156-230x300.png?6b692a" alt="1X Evangelism: A Kingdom Growth Strategy for the Local Church by John L. Rothra" width="230" height="300" class="alignleft size-medium wp-image-20" /><noscript><img src="<img src="https://www.1xevangelism.com/wp-content/uploads/2015/03/1XEvangPBCover3D-1652x2156-230x300.png?6b692a" alt="1X Evangelism: A Kingdom Growth Strategy for the Local Church by John L. Rothra" width="230" height="300" class="alignleft size-medium wp-image-20" />" alt="1X Evangelism: A Kingdom Growth Strategy for the Local Church by John L. Rothra" width="230" height="300" class="alignleft size-medium wp-image-20" /></noscript></p>

    First, what is the “data” stuff?

    Second, it’s trying to create a 230×230 image when the image is 230×300.

    Third, notice that the HTML for the image is wrong. Before the “alt” designation, there is a close bracket, then it continues on to close again, yet another one is never opened. Also, a bunch of info is duplicated without apparent reason. This makes no sense.

    Thread Starter jrothra

    (@jrothra)

    I think I found where the issue is, but the code doesn’t make sense to me so I’m not sure. In inc/class-fire-utils.php, lines 88-112 (https://github.com/Nikeo/customizr/blob/master/inc/class-fire-utils.php), I think that’s causing problems between the place holder and the image that should be there.

    How do I resolve without changing the core code?

    Hi where do you see they are 230×230?
    About the image not showing, try to disable the img smart load in Apperance -> Customize -> Advanced Options -> Website Performances -> Load images on scroll

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show body content images in sections of front page’ is closed to new replies.