The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Attachment Thumbnail image file type
When I attach a png image file the resulting thumbnail is a jpg. Is there an option to change this? Or has someone created a mod for it? I'd like to maintain transparency on png/gif thumbnails...
|
#2
|
||||
|
||||
There is no option to change this. I don't know of a mod that does this either - have you tried a search?
|
#3
|
|||
|
|||
Yeah, I've tried looking here and haven't had any luck. I'm surprised no one else has noticed this.
|
#4
|
|||
|
|||
vBulletin doesn't convert *.png and *.gif files to *.jpg the only thing it does is that it renames the attachment to *.attach and it creates a thumbnail (if you have it enabled, *.jpg) which is being renamed to *.thumb. So I'm pretty sure that thumbnail option confused you!
|
#5
|
|||
|
|||
Ok...looks like I was wrong about the problem here. The images are indeed png with transparency. However when I display the thumbs with the attach bbcode, they are losing the transparency...even when I right click and save the image to my machine, the transparency is gone.
I'm not sure why that is, how could the attach bbcode change the transparency of the image? |
#6
|
|||
|
|||
How big are your *.png and *.gif files? When I say how big, I mean on their resolution. If they aren't over 640x480, feel free to turn off the "Create a thumbnail" option in the Attachment Manager or those two extensions.
As there's no need for a thumbnail if they aren't big. |
#7
|
|||
|
|||
What I'm realizing now is that somehow the attach bbcode is somehow making the background not be transparent any longer. Any idea what would cause the bbcode itself to change the pic?
|
#8
|
||||
|
||||
Paste a copy of the BB Code Jim? Off the top of my head if the .png is actually staying transparent then it should have the same background as the <div> class it's in.... post the BB Code so we can have a look .
|
#9
|
|||
|
|||
I'm going nuts here... lol. Now I'm back to thinking that the png thumbs are losing transparency. I'm going to upload a png with this post to see what happens here....should be a blue ball with transparency around it...
Attachment 129960 |
#10
|
|||
|
|||
Ok...so they are also not transparent here on vb.org as you can see white around the thumbnail above. Here is a link to the full size version uploaded here to vb.org....notice there is no white box around it:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|