Quantcast
Channel: Phoca Forum
Viewing all articles
Browse latest Browse all 2003

Phoca Gallery • Re: Thumbnails from imgur are not displayed when filename starts with a letter

$
0
0
Hi, thank you for the info, will be fixed in next version.

The hot fix:

open: components/com_phocagallery/layouts/box_image.php

change line cca 38:

FROM:

Code:

echo HTMLHelper::_( 'image', isset($item->extid) & (int)$item->extid> 0 ? $item->extm : $item->linkthumbnailpath, $item->oimgalt, array( 'class' => 'pg-image c-Image c-Image--shaded', 'itemprop' => "thumbnail"));
TO:

Code:

echo HTMLHelper::_( 'image', isset($item->extid) & $item->extid !=  '' ? $item->extm : $item->linkthumbnailpath, $item->oimgalt, array( 'class' => 'pg-image c-Image c-Image--shaded', 'itemprop' => "thumbnail"));
Let me know if this works for you.

Than you, Jan

Statistics: Posted by Jan — 03 May 2024, 01:55



Viewing all articles
Browse latest Browse all 2003

Trending Articles