Tagged: filename, Masonry Gallery, thumbnails
Hi, I have a question about file names of Masonry Gallery images.
Let’s say I add ‘original-name.jpg’ file and use it in Masonry Gallery/Perfect Masonry. Enfold gives me this code:
<img width="705" height="705" class="wp-image-8580 avia-img-lazy-loading-not-8580 lazyloaded" src="https://PATH/original-name-705x705.jpg" (...)>
I understand the concept of thumbnails and it’s behaviour is fine, but me SEO guys would like original filename, so:
original-name-705x705.jpg
would become: original-name.jpg
It’s completely understood, that this modification would need using of the original file and not it’s thumbnail. Is there by any chance, any code snippet or maybe other modification to make Masonry Gallery use original file instead of ‘masonry’ thumbnail? I really need it, so I’m willing even to make modification in Enfold theme (and repeat it after every update).
Thanks in advance.
Hey Artur667,
You can have a look at these files /config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php
/config-templatebuilder/avia-shortcodes/av-helper-masonry.php
and see if you can make the change there.
If you need further assistance please let us know.
Best regards,
Victoria