![]() |
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 |
Quote:
|
Quote:
|
Quote:
Thank you. Edit II > 1st Step Done: 1 - I move all images from inside my forum to another URL, i choose http://www.imageslocker.com and there put all from 2007 to 2015 2 - I Use Mysql UPDATE/REPLACE in post.pagetext and then, do al full Clear system cache.. table repairs, Forums Cache... and then all works ok. Finally. New images, goes to the forum URL, the next year i will move in bulk again. In the options IGNORE site i must write with/and not http and www, if not the mod copy again the images to the forum. I just have a question.. I start to make some order/renames of files, in categories. How does this affect the table iei_img? Becouse the old URL, will be the same, but the new URL it will not be because I moved / renamed. |
Hello
after it import the image it dont show up in post I edited the post and i see the link point correctly to site./images/imported but the picture totally gone from all thread how to fix that please ? Thank you |
Quote:
Firefox dont show your images if the URL is incorrect or the image is not where you think it is. Use Chrome or IE to check. Make a test post, and link and external image. Go Administrator panel and run scheduled tasks > vB4 Import External Images Go again to your test and check if it load the image imported or if show a broken avatar, do a right click in there and open in another windows, check the URL and you will see the error. Fix it in config and clear Cache in your navigator (CTRL+F5) and check again. |
thank you very much i am going to do that , but i fined the the picture use wrong URL how to change it please ? do i have to thread and edited it manually i have very big forum more than 300K thread ?
|
Quote:
Try to be sure when you make the config. IDK if the vbulletin cache, browser cache.. if you run the vb import, and you need to change anything, you need to clean all cache to be efective. If you summit a mistake, like me, and write "galerry" and not, "gallery" you can fix with sql sentence inside of you db, iei_img table. And remember to set a image for "noimage" pictures, its will reemplace a lost linked image if you want. |
Quote:
Code:
UPDATE post SET pagetext=REPLACE(pagetext, 'old', 'new') Code:
UPDATE post SET pagetext=REPLACE(pagetext, 'http://www.abc.com/', 'http://www.def.net/') Code:
UPDATE post SET pagetext=REPLACE(pagetext, '/imported/', '/images/new-site/') |
Quote:
|
Quote:
|
Quote:
|
Hello,
I installed thisplugin years ago and my imported folder size is very large and increasing. Is there a way to delete unlinked images from folder? Because many of the threats get deleted but the images remains there |
Quote:
|
Quote:
|
Quote:
[X] Delete unused backup images [X] only save images of the 1st post, not answers |
Quote:
In order to efficiently delete unused images the only way is to use server side scripts and these may be crafted and used anyway only by system administrators ... there is no single system identical to another. Ideally, you make a list of all images and search the posts, signatures and other places for those images. All of which you find, will be marked to keep. And then you delete the rest. Another approach would be to analyze the server logs over a long timespan (1 month or more) and mark all found images to keep. |
This is good one
|
Quote:
|
Quote:
|
Quote:
|
What if I want my images converted to png instead of jpg? I prefer using pnggauntlet on my images, plus I prefer png over jpeg anyday.
Also you may want to reword this. Do you mean the images are stored in a server cache and consuming ram or that the images are written out as files in the images/imported folder? Quote:
|
Quote:
- Neither. When importing images, the paths of images, which are already imported, may be stored in memory to quicken the import process, or be queried each time. If you have limited memory for your PHP process and a large quantity of imported images, you may want to switch the memory cache off. Just in case ;) |
1 Attachment(s)
Hi
This product will be worked for me but a few month dos not work about 2/26/2015 until now anybody there help me? |
Quote:
|
Quote:
10:30 AM but last night uninstall the plugin then reinstall this. not work! |
Quote:
|
1 Attachment(s)
Quote:
i dont know what am i doing to work well |
Quote:
|
Quote:
|
Quote:
|
All times are GMT. The time now is 09:11 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:
|