![]() |
This seems to be a common problem with certain hosts. This happens when getimagesize() is not able to obtain the length and the width of the picture as it is trying to calculate how to resize the image.
I have been asked by several people to come up with a workaround for this. :( I am going to do some research and see if there are any alternatives.... |
Is there any way to have this hack not affect linked images in member signatures? My members are revolting! RIght now this hack is resizing all images in a post including those in their signatures.
|
One thing you can do to allow yourboard to have images that are not affected by this hack is to go to function bbcodeparse2() and see where the implementation for the IMG tag is and replace the word IMG with IMG2.
|
zzed... have u fixed my problem? :(
|
this is one of the best hacks i have installed*
dont laught at me lol |
edit** i got it working lol **edit
|
I installed this and tried it on a few images. The problem was that it was only working randomly on some images.
How do you adjust the resizing limits. Do they have to be the same ratio as 80x60? I had mine set at 350x350. I would really like to be able to use this one. :classic: |
thank you Zzed for this nice hack
but I need to change [thumb] with [ img ] Can you help me Zzed? Best regards |
Some of users have the following enabled:
http://www.futurelooksforums.com/for...p?postid=63893 Is there any way to include the [thumb] tag as well so images encased in the [thumb] tag just show a URL, if they have the option turned on? |
works great on vB 2.3.0
Thank You for this excellent Hack!!!! |
no problems anymore :D
|
is there anyway to make this work with attached images that were uploaded through a post made by someone. They use an img src tag rather than a {img} tag.
|
This works great!
Except I run into a very terrible issue with the code I think.... Zzed, if you can help possibly, please do so. I am all set with your code, and used your recomendation from this post: https://vborg.vbsupport.ru/showthrea...ight=%5Bimg%5D To use that line of code that will have [IMG] tags changed to [THUMB] tags. So I edited the functions.php perfectly fine, and everything works perfect. The max estimated image size I can use for the forum dimensions is 540 x 405. Any image Higher than 540 will automatically resize to 540, no problems. But for things like signatures.... and small icons, I will always get a big thick black border around the small image. I even made the setting in your code of border="3" set to "0". So what could be the problem? Is it looking at any image w/ [IMG] tags around it and trying to do this little equation or what? All I am asking is for a fix that takes away those borders even though border="0" is on... Please Help! -Tweak |
Quote:
|
Seems people dont want the border LOL I on the other hand DO, just want to color it? Is there any way to change it's color?
|
Quote:
try this. Open admin/functions.php up look for the folowing code. PHP Code:
I havent tryed it, but let us know if that works |
He asked how to color the border, not the thickness....
|
LOL, yeah I already trimmed the border down, I just wanted to color it. I tried the bordercolor= thing, but it didnt work. Is there something else I need to do?
|
No one can tell me how? ;_;
|
did you add the bordercolor tag to the first img line too?
this one: $code = "<a href=\"$code\" target=\"_blank\"><img src=\"$code\"></a>"; |
what I would like is a way to have it ignore the IMG tags in signatures, or be able to set a different size limit for them.
|
the reason I say this is because I used this code to have all IMG tags changed to the THUMB tags automatically:
$bbcode = preg_replace("/img\]/i", "thumb]", $bbcode); |
All times are GMT. The time now is 06:33 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:
|