Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 130709

Incorrect thumbnail sizes loading with shortcode

$
0
0

Replies: 0

Hi David

I am displaying the first image of this page:
https://www.eupati.eu/eupati-news/national-updates/

…using this shortcode…
[mla_gallery ids=”12190″ columns=”1″ mla_caption=”{+caption+}” link=”file” size=”medium” mla_markup=figure-blog]

…and this template…

Name:
figure-blog

Arguments:
Blank

Open:
<div id='[+selector+]’ class=’gallery galleryid-[+id+] gallery-columns-[+columns+] gallery-size-[+size_class+]’ style=”padding:20px;margin-bottom:20px;border: solid 0px #c0c0c0; width:50%;”>

Row Open:
Blank

Item:
<figure>
[+image_alt+]
</figure>

Row Close:
Blank

Close:
</div>
<br style=”clear: both” />

The image that is rendering on the page is a full size image and not the specified “Medium” size in the shortcode.

I assume there is something incorrect with my template.

Can you see anything obvious that might be causing the issue?

Kind regards

John L


Viewing all articles
Browse latest Browse all 130709

Trending Articles