Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Ability to show thumbnails instead of full images on profile pages #153

Open
dwanjuki opened this issue Aug 7, 2023 · 1 comment

Comments

@dwanjuki
Copy link

dwanjuki commented Aug 7, 2023

Currently Image file-type profile fields are displayed at full-size on the profile pages.
The ability to show a thumbnail(or other image size) that leads to the full image on click, can help make the profile page layouts consistent.

@kimcoleman
Copy link
Member

Member directories has its own special function to display a file type preview: https://github.com/strangerstudios/pmpro-member-directory/blob/dev/pmpro-member-directory.php#L127-L143

Core PMPro 3.0+ has a new file type preview version we use in the pmpro_member shortcode: https://github.com/strangerstudios/paid-memberships-pro/blob/v3.0/shortcodes/pmpro_member.php#L179-L189

We should update Member Directory to use the new way for file field preview as it works in v3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants