![]() |
Good idea blind eddie, this will provide instant, satisfying feedback to any user.
Always good to see development on 4.2.1. |
how can i change banner size like facebook cover?
|
Facebook cover?
As stated in first post: Quote:
Code:
<div align=center><vb:if condition="$userinfo['fieldxx']"><td class="vbmenu_option"><img src="{vb:raw userinfo.fieldxx}" width="600" height="150"></td></tr> </vb:if></div> |
Again I just want to say thanks blind-eddie :)
@ mohammad6006 facebook cover is ...851 pixels wide and 315 pixels tall. If you upload an image that's smaller than these dimensions, it will be stretched to this larger size. Code:
<div align=center><vb:if condition="$userinfo['fieldxx']"><td class="vbmenu_option"><img src="{vb:raw userinfo.fieldxx}" width="851" height="315"></td></tr> </vb:if></div> Code:
I did 950 pixels wide and 150 pixels tall...but then again I'm still sorting out how I would like it! Code:
<div align=center><vb:if condition="$userinfo['fieldxx']"><td class="vbmenu_option"><img src="{vb:raw userinfo.fieldxx}" width="950" height="150"></td></tr> </vb:if></div> Code:
If you upload an image that's smaller than these dimensions, it will be stretched to this larger size. |
Quote:
i add style HTML Code:
style="max-height: 350px; max-width: 75%;" |
You could use,
Code:
width="75%" height="auto" The only issue I see having with any of the edits is the size of the image. Example random banner image from the net: http://shipritestore.com/wp-content/...ns-Banners.jpg This image is 1664 x 312 and 1941264 bytes (HUGE) Using style="max-height: 350px; max-width: 75% or width="75%" height="auto will drop the image to 1165 x 218 (Fluid Style)but it will still remain 1941264 bytes (HUGE) I could add image guidelines & add image resizer link on the profile field page so members will know what size their image needs to be. |
FYI
My image guidelines when filling out the User Profile Field Description Code:
Please add your Image URL ...for best results Banner photos are xxx pixels wide and xxx pixels tall. If image is smaller than these dimensions, it will be stretched to this larger size...sometimes this will give you a cool image. |
I added image resizing to specific dimension's and image upload on the pbanner page.
https://vborg.vbsupport.ru/ I will share my edit later tonight. |
Cool! :)
Upload-Resize Host Image on post #43 Notes: neider ...I think it should read...neither ;) Upload-Resize Host ...will that be hosted on our own servers? |
nvm this
|
All times are GMT. The time now is 10:36 PM. |
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:
|