What Are The _t_2x Thumbnail Images For?

By default, a 480px image is created and placed in the /modules/boonex/photos/data/files folder whenever a photo is uploaded.

I'm wondering what these images are actually meant to do?

As an experiment, I deleted all 300 from my test site and the site continues to function normally.

Can someone please tell me what these thumbs are actually used for?

As they can be quite large, a lot of disk space could be saved if they're not needed.

Quote · 26 Feb 2018

Hello johnk42!

 

This sizes is used by profiles pages (getBlockCode_Cover method for cover block) and Twig modules like Groups or Events. The code like next calls this size:

 

$aImage = BxDolService::call('photos', 'get_entry', array($aItem[$this->_oDb->_sFieldThumb], 'browse2x'), 'Search');

 

With the best regards, Leonid

Quote · 1 Mar 2018

Thanks for your reply Leonid, but it's interesting to note that I deleted these images and Dolphin continues to act normally.

I did this after reducing the size to 240 x 240 and not noticing any change. From what I can see I'm either not calling on these images or they're being ignored.

I'll do more tests and get back to you.

Quote · 1 Mar 2018
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.