-
Notifications
You must be signed in to change notification settings - Fork 12
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
How to not display original photo (4.5 MB) but download and show only medium size.? #104
Comments
Hi, the only way to do it so far is to privately upload the media. We surely need to offer a way to disable large image display: a possible way is to shrink resolution like WordPress does when generating image with specific sizes (thumbnail, medium, large. etc. Thanks for sharing this point. |
@imath for this plugin u can automatic resize image for max resolution 800px width... buddypress is "social network" People dont need view large photos. |
Ha, we can never assume we know how a plugin is going to be used. Users will always find a novel way to use something that surprises us as devs (and sometimes delights us, too). :D I promise that some users will want to use it as a photo sharing repository and will want to store high-res images. |
I agree with @dcavins I believe the best way is to generate a shrinked image for preview and the original one for download. |
Yes that would be great. |
@imath Just putting in my vote for this too. If we're able to control this through constants, like in BuddyPress, that would be awesome! An example could be:
|
Hi @bclaim thanks for your suggestion 😍 |
@bclaim Hello, if i input this code to php snippet, it will work? Or i need some modification? |
How to not display original photo (4.5 MB) but download and show only medium size.?
by some php snippet, or u add to plugin pls?
The text was updated successfully, but these errors were encountered: