The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Desperate for help!
The following has been copied and pasted from vBulletin.com where customer support is the worst that I have ever experienced. I have gone from being annoyed and frustrated to being angry. I cannot wait 24 hours between asking questions to get help with this problem:
Quote:
|
#2
|
|||
|
|||
I don't really know anything about how images are handled, but (from your vbulletin.com post):
Code:
The image sizes set in the config.php are much larger than what the uploaded images are on my site. Code:
// Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings. so maybe you should *reduce* those dimensions in your config.php. (Or maybe the comment is wrong...) ETA: which version do you have installed? It looks like maybe the values in config.php aren't used in version 4.1.8 Would you be willing to attach a zip of the original images in the album you linked to, so I can try uploading them? |
#3
|
|||
|
|||
Thank you for the reply, kh99. I'm using version 4.1.8. The dimensions in the config.php shouldn't be resizing images randomly that are much smaller than what is stated in the file, should they? For instance, the dimensions say:
Code:
$config['Misc']['maxwidth'] = 2592; $config['Misc']['maxheight'] = 1944; |
#4
|
|||
|
|||
I really don't know why it's resizing at all to be honest. But it doesn't make sense to me to *not* resize images that are *larger* than the given dimensions, but that's what the comment seems to say. But as I added in my post above, in 4.1.8 it doesn't look like those values are used anywhere (the line has been commented out).
[S]Are you able to provide those original images for testing?[/S] If not I can probably find my own somewhere. ETA: Don't worry about it, I'll just resize some images to 800x533. --------------- Added [DATE]1323027606[/DATE] at [TIME]1323027606[/TIME] --------------- In your attachment manager, what do you have for maximum file size, width, height for each file type? To answer your above question, I think you could end up with "randomly" resized images if you have the max file file set to something small, because it looks like the code first resizes the image if necessary to be within the max dimensions, then resizes again if the file size is > the max. BTW, when I did a test with 5 .jpg images that were all 800x533, they all ended up the same size but larger than the originals (I haven't quite figured out why yet). |
#5
|
|||
|
|||
Quote:
Code:
Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings. $config['Misc']['maxwidth'] = 2592; $config['Misc']['maxheight'] = 1944; |
#6
|
|||
|
|||
Quote:
What do you have in your attachment manager for max dimensions and file sizes? Maybe post a screen grab of it if you can. If I can reproduce the problem you're having then I might be able to tell you why it's happening. |
#7
|
|||
|
|||
Here is a screen shot from my attachment manager. Your assistance is appreciated a lot, kh99.
|
#8
|
|||
|
|||
Well, I set mine up like yours and I can't really reproduce your problem. But what I do see is that 4 images were rsized from 800x533 to 820x553, and one is smaller (the Train image) because it is larger than the 100K limit. So the only thing I can think is that maybe your original images (which I'm assuming were all of type .jpeg) were much larger than mine and so got resized to reduce the file size. Maybe try increasing the max file sizes and see what happens.
|
#9
|
|||
|
|||
All of the image file size maximums have been increased to 1000000, the system cache was cleared and the problem still persists. This has only been a problem recently, when I first installed vBulletin the images were uploading at the correct size.
|
#10
|
|||
|
|||
When you say the problem still persists, you mean when you upload new files they get resized, right? Because of course it won't fix files that were already uploaded.
I'll look at the code again and see if I can see anything else. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|