![]() |
Quote:
|
JohnnieOO, this hack applies only to images that you insert using the [IMG] bbcode tag.
In other words, if your board width is set 1024px and the user inserts an image hosted on imageshack.us that has 1900px in width, it will break your design. My hack will automatically resize that image to load a specific width you desire, eliminating the ugly look your board will get from a very wide image. |
Installed, Thank you
|
Wonderful hack...Clicked Installed...
I saw in an earlier post, if enough people request it...you would make a code change to state the original image has been edited... You should actually include that code within your mod...as well as including the code to open the image in a new window...just like the vBulletin default image attachments already do. It only stands to reason that this would be the best way to go...convenient...and warranted. Again...thanks for the hack...Kudos! |
Does anyone know if theres a similar thing for avatars?
|
Quote:
Quote:
|
Yeh i dont just want something resized to fit a 400 x 400 box for example.
If their image is 1000 x 600 (ony an example) and they put it in their avatar I want it to keep the proportions but be smaller. So if i state the avatar size to be 400x400 max it would be resized to 400 x 240 If i just left it how it is in VB the image would be stretched to 400 x 400 and unless its a square image to start it looks messed up. |
Avatars are stored into database. They have nothing to do with the [IMG] tag. :)
|
Actually, you can configure vBulletin to store avatars (like attachments) in the file system. Thus, an IMG tag would be able to fetch said avatar.
|
Yeh my avatars are saved to folders along with all other images rather than having a huge database file.
|
All times are GMT. The time now is 11:13 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:
|