The original image is 464x464 pixels and 38 KB.
After uploading it as group icon, I downloaded the image and verified - it is now 330x330 pixels and 24 KB in size.
No big deal for the extra 4 KB but wondering how it passed the 20 KB limit validation and if image uploads in comments, etc are going to exceed specified limits.
Announcement
Collapse
No announcement yet.
Enabled switch for modules and widgets
Collapse
X
-
The system will automatically resize all images to the allowed dimensions if it can do so. This has been a feature for a long time.
Leave a comment:
-
Hi Wayne,
I've updated my previous comment above.
I tried changing Attachment Permissions (/admincp/attachmentpermission.php) and setting Max File Size to 20480 bytes for PNG format for these user types -- Administrator
- Registered Users
- Users Awaiting Moderation
- Users Awaiting Email Confirmation
However, I was able to upload PNG images as group icons that are more than 20 KB in size. It uploaded PNG files of 38 KB which was not expected.
Settings > Message Attachment Options > Limit Space Taken Up By Attachments (Total) => is set to 0 (unlimited space).
What else needs to be done to limit uploaded file sizes?
Thanks!
Leave a comment:
-
i guess the simple solution is a change to uncheck the “retrieve remote file and reference it locally” checkbox by default on the image popup to hot link images as users don’t notice the checkbox or it’s purpose. If the user wants to upload image, they would check the box. Default behavior to hot link images is ideal because we can always reopen the popup and convert the hot linked file, set it to retrieve it from remote server and upload to our server to reference it locally if desired but the other way (uploaded file to hot linked file) is not possible unless we redo the hot linking all over again (we may have lost/misplaced the url to the hot linked file by now in the process). Users can decide which method has more legal implications - uploading random copyrighted images from other sites to our site or just hot linking them so they remain hosted on their original servers.
i’ll create a feature request for separate size limits for essential profile/group icons or bypass rules on them so these work independently.Last edited by webcms; Wed 10 Jun '20, 11:27am.
Leave a comment:
-
Vb is applying image size limits to essential profile/group icons and that is where I found the issue was. I guess having a separate size limit for essential icons instead of reusing the same size limit parameter would be ideal. I worked around it by setting the limit to 20 kb and it works for profile/group icons. When users try to upload images into comments, etc, they usually exceed 20 kb and stops them from uploading.
i actually deleted the last para from my previous post that you referenced as I found a checkbox on the image popup to “retrieve remote file and reference it locally” unchecking which would hot link the image file.
i was thinking of starting a new forum for Asian audience where more than 75% posts/comments would have images from users (it’s just the way they are - they just copy silly image links and paste into the editor on most comments to express themselves for humor, etc - no piracy intended) and ran into this hot linking issue. With over 75% comments having images, I thought of future implications of uploaded copyrighted files going out of control and becoming a nightmare. It’s a training issue to use the image popup (as opposed to pasting the link directly into the editor which does not parse) and uncheck the upload checkbox to hot link.Last edited by webcms; Wed 10 Jun '20, 1:41am.
Leave a comment:
-
Will using Attachments section in admincp have similar issues?
the only way to hot link images I found so far is by switching to editor html source and use [IMG] tags which users won’t be savvy enough to do so. Otherwise using the hyperlink toolbar icon just inserts a link with no image rendered in the posted content.
The problem is that you want to operate outside the norm. The majority of sites do not want this or have problems with people uploading their own images, memes, what have you. I don't know maybe your site's content encourages piracy and it will be a larger problem than I think it will be.
If you feel more needs to be added to the system, you're welcome to create a well worded Feature Request. Should it gain community support or fulfill a real security need, it can be added to the software in the future. Right, now, your best off just not allowing attachments at all.
Leave a comment:
-
About legality of hot linking images from other sites, I’m not a lawyer but it may not be as serious as uploading copyrighted images by users to be hosted on our site. On Facebook, Instagram, Quora they have a fleet of staff to look into takedown notices but on a small site with just one person and receiving 200 takedown notices a day would be a nightmare and divert our focus from building a business.
At the most, we may be piggybacking on the image site owner’s bandwidth by hot linking. If the image site owner is concerned about hot linking, they would control it with htaccess or serving up a wrong image file as a notice. Google image search uses hot linking images from other sites and also does caching to host images on their own regional cloud servers to speed up searches without which it won’t be performant.
i tried earlier configuring Settings > Options by lowering image upload sizes but that affected profile icons and group icons uploads sizes too and had to increase the limit to 20 kb. This will still allow users to upload icon images up to 20 kb but does not disable image uploads.
I tried to hot link an image using the picture toolbar icon in the editor but the popup actually tried to upload the image file and gave a size limit error.
Will using Attachments section in admincp have similar issues?Last edited by webcms; Wed 10 Jun '20, 1:40am.
Leave a comment:
-
Please implement a Enabled switch for various modules and widgets so we can disable a module/widget without having to delete it.- Edit the module and set "Show module at these screen sizes:" so that no options are selected.
- Set the viewing permissions to "Show to Specific Groups" and then select no usergroups.
For modules like forums, setting the display order to 0 hides a forum but anyone can still access it if they know the url.
Enabled switch could be used in filter clauses internally to show/hide/render items. If we need to disable a specific group, we can just turn off the switch for it. If we need to disable a specific blog due to any reasons, we can flag it without having to tinker with permissions. Enabled switch gives us quick and precise control which is purpose-driven.
uploading images could be controlled through a flag on sites where only hot linking is allowed). Small images with size limits may still be allowed for profile, group icons, etc but uploaded images inside postings could have legal/copyright issues resulting in take takedown notices and causing headaches. The switch would force users to hot link images from other sites and no uploading. Please see Invision Board where it is so easy to just paste image links and they get parsed and hot linked when uploads are disabled but icon uploads still work for profile pictures. It works perfectly in Invision.
also, on Asian forums, more than 75% of the posts/comments will have images to express themselves which means millions of image uploads on a site that has millions of posts/comments. If we can just disable uploads, it would resolve this issue. Setting image size limit to 1 kb as a workaround - users can still upload images less than 1 kb (users will not be able to upload profile and group icons with this setting limit because vb reuses the same setting for more than one purpose - upload size limit which is also enforced on essential profile /group icons).
- 1 like
Leave a comment:
-
Enabled switch for modules and widgets
Please implement a Enabled switch for various modules and widgets so we can disable a module/widget without having to delete it.
For modules like forums, setting the display order to 0 hides a forum but anyone can still access it if they know the url.
For widgets, there is no way to temporarily hide it retaining all its settings without actually deleting it.
Enabled switch could be used in filter clauses internally to show/hide/render items. If we need to disable a specific group, we can just turn off the switch for it. If we need to disable a specific blog due to any reasons, we can flag it without having to tinker with permissions. Enabled switch gives us quick and precise control which is purpose-driven.
uploading images could be controlled through a flag on sites where only hot linking is allowed). Small images with size limits may still be allowed for profile, group icons, etc but uploaded images inside postings could have legal/copyright issues resulting in take takedown notices and causing headaches. The switch would force users to hot link images from other sites and no uploading. Please see Invision Board where it is so easy to just paste image links and they get parsed and hot linked when uploads are disabled but icon uploads still work for profile pictures. It works perfectly in Invision.
also, on Asian forums, more than 75% of the posts/comments will have images to express themselves which means millions of image uploads on a site that has millions of posts/comments. If we can just disable uploads, it would resolve this issue. Setting image size limit to 1 kb as a workaround - users can still upload images less than 1 kb (users will not be able to upload profile and group icons with this setting limit because vb reuses the same setting for more than one purpose - upload size limit which is also enforced on essential profile /group icons).Last edited by webcms; Mon 8 Jun '20, 9:31am.Tags: None
Related Topics
Collapse
-
by JChazIs there anything I can do to resolve the problem of uploading images direct from mobiles or other devices. The forum relies on the ability to put images up and the size taken on any phone these days...
-
Channel: vB Cloud Support & Troubleshooting.
Sun 22 Sep '19, 1:02am -
-
by imgnrmHello,
I have 2 questions.
#1. I've uploaded several photos and it reached to quota I set up so I couldn't upload any additional images more. so I removed all the images from my posts....2 Photos-
Channel: Support Issues & Questions
Sat 27 Oct '18, 4:18pm -
-
by MM DebbieHow can I allow images to be enlarged larger than they are currently. This forum also limits the enlargement of images, just like our forum. It seems the enlargement window is fixed. I would like images...1 Photo
-
Channel: Support Issues & Questions
Fri 3 May '13, 11:55am -
-
Having problems with members who use iphone and iPad, their images are always too big for the attachment allowance and many are quite elderly and don't know how to resize their images before posting....
-
Channel: Support Issues & Questions
Wed 20 Sep '17, 5:30am -
-
by medvedJust would like to ask. Is there a software in vB 5 for automatic resizing/down scaling, reducing the size of images people are posting? There are people who use smartphones now. They just take a photo...1 Photo
-
Channel: Support Issues & Questions
Wed 16 Jan '19, 8:07am -
Leave a comment: