Follow-up customization file preview for Dropbox

in Download Manager Pro Feature Request

Viewing 1 post (of 1 total)
Aug 26, 2020 at 11:38 am
#135132
Participant
Sef Hendrickx
OP

Customization feature is fixed for this client. I’m asking for a correction:

We are seeing that the developer uses a certain height and length of the image-size. That results in the images not fitting right and it does not come out clean on the site.

When we update it, it will break with the following update so can you please pick this up? That way the custom code looks as clean as we want it in the first place. Thankyou. The admindetails is the same!

My developer told me that the dropbox files need an adjustment. He gave the following line:
Line 261 in libs/class.Filelist.php needs adjustment from: $thumb = WPDM()->package->getThumbnail($package[‘ID’], $fileID, [$w, $h]); TO: $thumb = WPDM()->package->getThumbnail($package[‘ID’], $fileID, apply_filters(‘wpdm_file_thumbnail_image_size’, [$w, $h]));

Viewing 1 post (of 1 total)

The topic "Follow-up customization file preview for Dropbox" is closed to new replies.