![]() |
Quote:
Clearly you would need to restrict file size for image uploads so users cant upload unlimited 3MP images. Thats pretty obvious. This script does dynamic resizing like the title of this thread states. It isn't a script that resizes and then resaves the image, overwriting the original. Though, im sure you could find a php script that does that by searching Google. Thanks. |
My posting probably was not clear enough: I know HOW to resize a image with PHP and GDlib. I just don't find the place in the VB code WHERE to pick up the image date after upload and manipulate it. Any hints where in the code I have to look for that? I suppose it's in the class_upload, but I can't find the exact position ...
Thanks Franz |
I really dont know where it is, I'd have to go hunting.
Does any expert vb coder know where this bit of code is? |
I know that vb strips the exif data when it makes thumbnails, so is it possible to resize the attachments as they are being uploaded to say 99% of their original size, thereby stripping the exif data. Perhaps someone reading this can help. Thanks for your help toolblast but unfortunately resizing on the fly will slow down our server considerably.
|
hi , I tried to test it
it didn't work with my member's avatar in the threads pages !! it still big images!! whats the problem ? |
how to use it in postbit ^ ^ I mean how to resize avatar of a user in postbit if he/she uploads an avatar that exceeds the limit of forum? :) thx
|
Quote:
|
Quote:
Right now I had to fix a few bugs and this plugin now only works in the forum header and navbar (and a few other templates). Unfortunately it doesnt work in the postbit template (it just shows a blank space instead of the avatar). I am working on a new version of this plugin that will allow admins to easily add restraints to ANY image attachments/uploads which has been a huge request here on vb.org and I'll keep everyone updated, so stay tooned! Thanks |
Can you get this to work without Apache? (without GD Library installed)
|
Can anybody get this to work with ImageMagick??
|
Hi Chief! Nice to see you here.
I believe it is only coded to work with GD right now but I'll look for php code that may work with imagemagick ------------- Just a note to everyone who hasn't realized that I updated the plugin description: this hack doesn't work EVERYWHERE like previously stated. Some templates in vbulletin do not render global variables making the plugin not show the avatar. One of these templates is the postbit template. If you put '$useravatar' in that template nothing will happen. Why? I'm not sure, and if anyone knows how to make it work please share! Thanks. |
Hey Chief,
I think I found something that may help. I haven't examined the code yet, but this page looks promising: http://www.imagemagick.org/script/convert.php |
Quote:
Tell me if you need help testing it. |
Hmm. Well it looks like it would require a lot of research and coding to get imagemagick working lol. There really isn't very much documentation on the resizing function in IM with PHP.
Maybe in the future I'll try and add that in. In the meantime, you need to get GD Library on your server! lol |
Quote:
|
hey toolblast,
have you made any progress in how to get the postbit_legacy to resize the image? this is similar to what i've been trying to do. i'm trying to have the profile pic in the memberinfo template, and in postbit_legacy to automatically resize that into an avatar. this would make the profilepic and avatar the same image. i have a whole thread going on on it here: https://vborg.vbsupport.ru/showthread.php?t=122710 |
i tried this on 3.6 but no go for launch :(
Any chance on an upgrade please? :) |
same question, can you port this for 3.6 Ill even pay you for it! lol
|
No go on 3.6.5 here either... would love to see an update!
|
Attached is a new imageresize.php script that should work with 3.6.5. Overwrite the original one. This script came from http://tech.mikelopez.info/2006/03/0...resize-script/ modified to work with this mod.
|
anyone get this to work on 3.6.8?
|
I know this is old - but I'd love to see this for 3.6.8
|
I'd like to see this ported over to 3.7.1. Too bad the original coder does not seem to support his work any longer.
|
This %$/&#$ does not work :down:
|
For 3.8.6 ?
Can this be made? |
All times are GMT. The time now is 09:57 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:
|