Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
limit linked photobucket image width (1 viewing) (1) Guest
TOPIC: limit linked photobucket image width
#52595
limit linked photobucket image width 6 Months, 2 Weeks ago  
My forum width is set perfect, but when someone links to a photobucket image its expands the forum and screws up the gui.

Example url: ttowners.com/test/index.php?option=com_f...;id=4967&catid=1

In Firefox version 2 it puts a scroll bar on the one single thread and everything looks good, but in IE and Firefox 3 it just shows everything wrong. Is there a way to add in a scroll bar feature for extended threads like it shows in FF2? If not is their away to limit linked images to not show if its over a certain size...
focuz (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#52748
Re:limit linked photobucket image width 6 Months, 1 Week ago  
Hmm I find this issue to be a pain in the butt as well... I don't like the way the forum looks when a large image is linked. I have no issues with uploaded images as I have parameters in place that forces the users to keep the image a reasonable size. Is there a solution to this for LINKED images?? Some kind of code that tells the viewer of the post that it has been reduced by a certain percentage, and then..if they want to they can click the image to make it full size. I have searched for this topic here and have not found it answered, but me thinks the search forum thingy doesn't work either, because some results in 0, and some gives me 450 threads or more...hmmm
furryferret (User)
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#52750
Re:limit linked photobucket image width 6 Months, 1 Week ago  
I just tested this on my forums, and I have the same problem.

I wish someone would adress this issue.
wisconsinlive (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#52767
Re:limit linked photobucket image width 6 Months, 1 Week ago  
The issue lie on the template css


at the bottom of forum.css, add this

Code:


/* Restrict the width of forum messages */ 
td.fb-msgview-right table tr td div.msgtext { width: 740px; overflow: hidden; }




change the width to what you need to restrict
ethan (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#52790
Re:limit linked photobucket image width 6 Months, 1 Week ago  
ethan wrote:
The issue lie on the template css


at the bottom of forum.css, add this

Code:


/* Restrict the width of forum messages */ 
td.fb-msgview-right table tr td div.msgtext { width: 740px; overflow: hidden; }




change the width to what you need to restrict


I did add this to the forum.css as instructed, then linked a large image that was 800 x 640, I changed your code to 540px, because I loathe those 800x640 images...yeck. So yes the message is narrower, and the image is smaller with the right side cut off the image. What I really wanted was a reduction or the proportions of the image, not to have it cut off part of the image... just like when you are editing images in say like photoshop, etc.. it allows you to reduce the size and keep the proportional look of the image. I hope I am making sense!

Thanks
furryferret (User)
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#52797
Re:limit linked photobucket image width 6 Months, 1 Week ago  
File Attachment:
File Name: interpreter_fireboard_inc.zip
File Size: 6814

You can look at the file interpreter.fireboard.inc.php to find out the code. Find word 'img'.

You should give the max width at backend for Fireboard configuration.

I tested with IE (>=6.x) and FF.

Demo: luyenkim.net/home9/component/option,com_...d,2314/lang,vi/#2021
viet4777 (User)
Senior Boarder
Posts: 291
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
Logged Logged
 
Last Edit: 2008/07/01 04:47 By viet4777.
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct.
luyenkim.net/home9/index.php?option=com_...5&id=282#282
 
 
#52798
Re:limit linked photobucket image width 6 Months, 1 Week ago  
Dude you got it... thanks so much for this.. I so appreciate it... I hope they add this to the new FB 1.04...this is valuable for all peeps who hate big linked images... stretching the board out.

Thanks so MUCH!!
furryferret (User)
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#52809
Re:limit linked photobucket image width 6 Months, 1 Week ago  
Ok, I noticed you put a file for us to download, but what am I supposed to do with it? Insert that code, into the other file metioned up top?

Thanks for your help!!!!!!
wisconsinlive (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#52810
Re:limit linked photobucket image width 6 Months, 1 Week ago  
Also I found 6 or 7 img's in that file.

Sorry! I am lost.
wisconsinlive (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#52815
Re:limit linked photobucket image width 6 Months, 1 Week ago  
Wow I took the file that he provided me on this thread. The name of the file is interpretor_fireboard_inc.zip.. or something like it. I downloaded that attachment, unzipped it, and then uploaded it on my server.. let me see where I put it... Ok just looked and it is in public html folder/components/com_fireboard/sources. Now I always rename the old file first.....just in case the file I am uploading is crapola. Then I uploaded the file.... and it works. In my back end, my parameters are for them to not upload an image larger than..hmm I think 500, so when I linked an 800x600 image, it downsized it to 500x399 or something like that... the pic is totally proportioned... yippee!! I hope this answers your question fully!

wisconsinlive said: Also I found 6 or 7 img's in that file.
Sorry! I am lost.
<-- I did not find any images in that zipped file, and I pm'd you the same directions I have given here in the thread... all you do is unzip it and replace the old file with the same name... it works like a charm... it will resize it to whatever parameters you have set for uploaded pics, so both uploaded and linked will now follow the boundaries you set!! Hoorah!!
furryferret (User)
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top