![]() |
Well, one idea could be to attempt to download the image prior to examine its size, but then eventually you have other problems, such as streams, which could never finish.
|
You could always limit the size of a file to be uploaded to be <8Mb (or whatever the nominal size of the image is)?
|
Quote:
Where do I do that under vBulletin 4.13? .. and how would vBulletin know the size of the file in advance of actually having to download it? Thanks for the feedback ... appreciate it.. :) Regards, Doug |
Quote:
It would require a raw socket connection and manual reading of the file, and stop reading if it has reached 8 MB. Then however, it would be possible to add a timer, too, and abort slow files as well. Also, it would allow to examine the file header before downloading the whole file and thus discard no-image files efficiently. But it would take a bunch of code and yet more options. Then we remove the CURL code, but we'll loose the redirect features and SSL. Thus, it'll fail with Facebook, Imageshack, Google images, just to name a few. I would say, it is a no-go. |
Great idea! Do you know if this is going to work on 3.8.9?
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=123338 |
How about an option to save to a cloud service such as OneDrive as a CDN and pull the images from there?
|
Quote:
|
can we import the CMS image ? that it post inside articals there ?
Thank you |
Hi y2ksw, ty for this great mod, It has served me well these years.
I have a question before making a modification. I am interested in taking a new .com domain and use images only, like a gallery. My question is this. If I make a change in Forum URL replacement, and put a new domain, all new and old images will automatically move there? Currently, my domain is http://www.nivelextremo.com the forum is inside / post / and the images are in / post / imgbackup / If I for example, bought the domain like www.imgbackup.com or anything else and set Forum URL replacement -> http://www.imgbackup.com/images The old and new images, will move to the external domain? Or just new? or what would happen? Thanks in advance |
All times are GMT. The time now is 11:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|