The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
AutoThumbing of all Attachments
Have this problem whereby some users upload images that are slightly big ( i did set the max dimensions already to 640x400 ) but it still kind of distorts the look of the page.
Moreover it takes pretty long for the page to load. Is there any hack which will thumb the attachments and upon clicking it opens the full image in a new window ? Have tried searching for this hack but i dun think i managed to come across anything like it , though i saw this being implemented in some sites that i visited. Pls advise. Many thanks |
#2
|
||||
|
||||
sorry to do this but ... any1 ?
|
#3
|
|||
|
|||
I've already done this but am selling it because it is somewhat complex to code (requires arguably tricky math and use of the GD2 library). However it is possible if you want to do it yourself anyway via the GD2-specific functions in PHP.
|
#4
|
|||
|
|||
I tried searching for something *like* what you asked about that I have seen. The hack I saw reduced the attached image to a thumbnail (though it did not actually thumbnail the image). Full image loads, only smaller (size pre-defined), so it won't throw off your pages.
Unfortunately, I can only tell you about it because I couldn't find the damn thing. The hack above is out there though, sorry. EDIT: Not what I was thinking, but someone posted this today: https://vborg.vbsupport.ru/showthrea...threadid=52344 |
#5
|
||||
|
||||
Thanks pollo , i can do that to by simply constricting the attachmentimage template.
But i am looking for actual thumbnailing. Filburt's paid hack seems to be something like what i want. Will see how it goes. |
#6
|
||||
|
||||
Save your money and wait for vB3. It is not that far away now.
|
#7
|
||||
|
||||
Isn't there a way to do it like:
if (($attachment == *.jpg) or ($attachment == *.gif)) { <img scr="theurl" width="xx" height="xx"> } Im sure the code IS NOT good ;P But it could be done like this IMO.... |
#8
|
||||
|
||||
well freddie , taking into considering how some time will probably be needed for the release to become fully stable and all plus all the hacks which i have going on my board to be upgradable to vb3 , might be quite a while b4 i ever get about to upgrading my board.
Am sure many others share the same sentiments as i do Just considering my options here , but thanks for popping up to let us know a release is on its way |
#9
|
|||
|
|||
Quote:
vB3 sure seems pretty far away now that we've been waiting for two years... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|