The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Is there an SQL query I can run that can do this?
Is there an SQL query that I can run that will turn ALL images that are over say 640 x 480 into thumbnails about 150 x 150? Some images are messing up my forum format.
|
#2
|
||||
|
||||
Well not a query as such. You'd need the GD library along with PHP script to loop through all the attachments to do it. But still that would not fix the [img] tag problem.
|
#3
|
||||
|
||||
there was a hack out there, which resizes images over a certain resolution.
ok, it just uses html resize, so you won't save bandwith, but at least the forumdesign would fit again |
#4
|
||||
|
||||
You could always change postbit_attachmentimage to have width and height attributes in the img tag too
|
#5
|
|||
|
|||
Remember that modifying the image tag to use resizing HTML code may result in a destroyed aspect ratio and terrible quality. Also the file size itself will be the same.
|
#6
|
||||
|
||||
Im pretty sure there are numerous hacks here for images, either it be to restrict the size of attached images, restrict the size of linked images etc etc
This hack limits the size of uploaded images https://vborg.vbsupport.ru/showthread.php?t=59410 And there are other links in the thread. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|