Ale nie! Kde je JavaScript?
Váš webový prehliadač nemá povolený JavaScript alebo nepodporuje JavaScript. Ak chcete správne zobraziť túto webovú lokalitu, povoľte JavaScript vo svojom webovom prehliadači, alebo inovujte na webový prehliadač, ktorý podporuje JavaScript.

Fórum

Blog Settings - Preview Image

3 príspevky
1085 zobrazení
Naposledy aktualizované pred 1 rokom
Z
Člen 65
Odoslané pred 1 rokom
#1
Does the Thumb ratio (Original) setting function work for you? I can't figure out how to set it up. I constantly get a square display of images - (setting Square).
If you look at the code of the preview image, it has the address ...infusions/blog/images/thumbs/bratislavsky-hrad_t1.jpg
Setting: Thumb ratio - Original or Square, always the same - t1.jpg
I attached a photo with my settings. How to make a preview image be t2?
Upravil/a zizub dňa 25/05/2019 19:50, pred 1 rokom
Z
Člen 65
Odoslané pred 1 rokom
#2
I found one way. In the file ...\infusions\blog\blog.php on line 493
in this line
$lowRes_image_path = get_blog_image_path($data['blog_image'], $data['blog_image_t1'], $data['blog_image_t2'], FALSE);

I deleted
$data['blog_image_t1'], 

The image is now used by t2.
RobiNN
Hlavný administrátor 742
Odoslané pred 1 rokom
#3
For some reasons it only takes the first value (width), I don't know why.
PHP-Fusion Development Manager
GitHub profil: GitHub
PHP Fusion témy: PF-Projects/PHP-Fusion-Themes
PHP Fusion infúzie: PF-Projects/PHP-Fusion-Infusions, php-fusion/Addons