Image sizes

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Image sizes

Re: Image sizes

by axew3 » Thu Mar 28, 2019 9:07 pm

hello!
There is option into plugin admin
Last Forums Topics Widget avatar's dimension
change into a value you want.

the custom wild way:
assuming you're using widget last topics, then you'll open the file
/wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_last_topics.php
or any of the files within this folder, if using any other to output shortcodes etc.

search for these lines of code (and may read inline hints):

Code: Select all

get_avatar(0, $w3all_last_t_avatar_dim);
for example change into

Code: Select all

get_avatar(0, 100);
if you want 100px img output.

If you like to customize these files inside the folder
/wp-content/plugins/wp-w3all-phpbb-integration/views/
then may consider to use custom files, as suggested on admin plugin option:
Use custom files to display Last Topics Widgets, Login Widget or Last Topics Shortcode content
All files customized and placed on custom folder as suggested will not be overwritten on plugin update.
Consider that all these files will be updated presumably before 2.0.0 plugin release.
Do not copy/paste the config.php file into the custom folder.

Image sizes

by stigzler » Thu Mar 28, 2019 10:54 am

Hi.

I have WP-phpbb working nicely - thank you!

However, the avatar images in the forums (i understand these are essentially hotlinks to files in the WP installation) are sized at 50x50. How does this work - what determines this size? Can we choose a different size?

thanks!

Top