![]() |
Thanks Stangsta, I think there is another location also which is causing me an issue, mabey it's the code im using but it will take a few days and I will be back..
Cross you fingers.. :) |
Screenshot please?
|
Screenshot for what?
|
Nevermind.
|
I have threads with lot's of images - when I use the version with getimagesize it takes a very very long time to open the thread - but when I comment out the size check every image is turned into a link even when it already was one.
This leads to the effect that clicking on an imageshack.us thumbnail you don't open the fullsize version but the thumbnail opens in another page... :( |
Images have to "pre-load" I have the same issues with posts with like 27 images in it. I have set mine now to anything over 500px gets scaled down to 150 allowing 3 to 4 images per line on my forum this way signatures can be upto 500 pxs without having them resized also...
|
I'm watching this thread for the update. Sounds promising ggiersdorf. Thank you very much for all the effort.
|
Quote:
|
S@NL - BlackBik,
I had some errors on my forum with the resizing (at least I believe that's what caused it). I had a previous version of VBGallery installed. I then upgraded to VBPicGallery. So the old vbgallery pictures are now broken if posted within the forum (they are broken regardless of your mod) Using the mod you provided, I get the following error at the very top of the forum page for certain threads. Quote:
|
So am I correct in saying that this mod is server-side? In other words, the server actually has to download the image from wherever it is linked to before it does anything with it? Couldn't the whole thing be implemented client-side with javascript? That way the user's computer is doing the work and not the forum server.
-vissa |
The problem I am running into now is basically Signatures are used with the IMG tag this mod changes anything that has the IMG tag.
We need to re-write the $signature to use an alternate img tag like [SIG] [SIG] or somehow have the field for signatures remove the script above and use the default one from Vb. Basically trick it in signatures to use original vb code. PHP Code:
|
Quote:
Sorry, but I can't help you there. The error is caused by vbgarage.php and I don't use that hack. I don't have a clue why you get this error. Yes you are right when you say my version of this hack is on the serverside. It causes extra serverload and when you have many images in a thread (including sig images) it will definitly slow your page. There is a java hack on the cli?nt side. I'm using it now, since my users complained about long loading times. You can find it here: https://vborg.vbsupport.ru/showthrea...ghlight=resize. It's not as sophisticated, it doesn't show when an image is unavailable or the imageserver is down, but it's much quicker ;) ggiersdorf's hack is also on the serverside, but it's much quicker as my version as it execute less code and doesnt get the imagesize before resizing the image. |
The image resizes correctly but the layout is still broken in Opera 8.51
What are the template changes? |
Thanks for your help -- I will look at the javascript version.
-vissa |
ggiersdorf
Quote:
this variable was posted in that link... dont know, mite it give some support |
Hey S@NL - BlackBiker,
Thanks for the advanced hack! Got it installed and works fine here in Mozilla and IE... don't use Opera... ;) |
works perfectly for me, thanks :)
|
ggiersdorf ..helo..
umm when update will be release? |
I modified the info with the text you suggested and I got this error now:
Parse error: parse error, unexpected T_IF, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/zonaxbox/public_html/foros/includes/class_bbcode.php on line 1978 |
|
Quote:
|
hello....
:) when we can accept an updated that wont touch sigs ? and re-size works with IE,opera,firefox |
Quote:
And i have the problem, that the screens not in the same width and height... not in proportion. there are to high. What shel i do? |
Quote:
|
Quote:
( Down load imageresize mod.zip) |
Lots of info here. If you're like me and don't want to add 30 lines of code to your img tags, do what I did.
replace this: Code:
return '<img src="' . $link . '" border="0" alt="" />'; Code:
return '<img style="max-width:800px; width: expression(this.width > 800 ? 800: true);" src="' . $link . '" border="0" alt="" />'; This is fast and will work with either firefox or IE. It may even work with Opera, but I don't know. |
I installed the mod and the resizing works perfectly, however I cant parse images as links anymore.
|
works perfect in 3.5.4
|
Thank you ggiersdorf
Just what I have been looking for :D Install;) |
so none of you are having the issue with parsing images as links ?
|
I'm having a problem with my news portal in my CMPS.
When I added the code, it resizes images in the posts. But when the Module tries to grab the resized image to post it on the homepage, it won't display the image if it is over the size that I set for it. I used S@NL - BlackBik code in post# 47 I basically want the news module to grab the information in a selected forum on my site which includes an image in each post, and post that image on the main page in the news module, but the images need to be resized to fit the page correctly. If the image is over the set width of 400, it won't resize and display, it just doesn't display it period. It does resize it though if I go to the actual post. I need it to resize the image so it is displayed correctly in the news module of my CMPS on the mainpage. Any ideas how to fix this? |
Ok, I installed this and it works great on the images but the whole problem I was having hasn't gone away.
On this page, http://forums.epicski.com/showthread.php?t=33971 the offending image was in post #6. As you can see, it's resized. If you're viewing the page with Firefox...it looks fine. If you're viewing the page in IE...the tables still blow out really wide and require much horizontal scrolling. Any ideas what's going on here? |
Quote:
|
Installed and working good so far on vb 3.5.3
Thank You |
Quote:
:banana::banana::banana: |
Awesome mod, works perfect!
|
Quote:
|
SiMateoAko AWESOME IT WORKS PERFECT!!!!!!!!! i just opened up a new forums 1 hour ago and of course some dude had to post a image that was so FREaking big and fked up the boards so i cam ehere ran a search and bam your fix owns :) THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11
I recommend Simateoako's version of this mod his is posted at post number #106 its nice and short only 1 line :D |
Quote:
The line breaks are there but the phrase text is missing. I triple-checked the phrase names, they are correct. Even the version posted in https://vborg.vbsupport.ru/showthread.php?p=52 doesn't show the phrase in the alt-tag. Any hints ? Djamil |
I found out myself. There's important information missing in Post 52. If you defined the phrases as global phrases (which seemed the appropriate way to me since there was no specific phrasetype mentioned to define them in) and want the phrases to show up, you must do the following:
FIND Code:
function handle_bbcode_img_match($link) Code:
global $vbphrase; For further information please consult this chapter of the vB manual Djamil |
All times are GMT. The time now is 05:58 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:
|