UltraBB Forums Home 
Home Search search Menu menu Not logged in - Login | Register
UltraBB Forums > UltraBB > Software Assistance > IMG code placed in forum description

Welcome to the UltraBB public support forum! Did you know there is an inexpensive totally integrated gallery available for UltraBB? Read more here: Gallery Details

 Moderated by: Jim
New Topic Reply Printer Friendly
IMG code placed in forum description  Rate Topic 
AuthorPost
 Posted: Sat Jan 16th, 2010 10:53 pm
  PM Quote Reply
1st Post
Troy33
TheBarkingCommunity.com


Joined: Fri Dec 19th, 2008
Location: Londonderry, New Hampshire USA
Posts: 38
Status: 
Offline
Mana: 
User Gallery
I am placing code in the description so that an image is displayed for a special forum section. The jpg image original size is 390width x 60height, but it is getting stretched to fill the description area. This is making the image look grainy and too big for what I want.

Is there a way I can add code in that Admin Panel>Forum>Description: box or correct my code to keep the image as 390wx60h?

Here is a copy of what code is not working.

<IMG title="Award Information" height="60" alt="Award Information" width="390" border="0" src="http://www.thesongwritersforum.com/forum/images/2009SongOfTheYear.jpg" />



Any help would be appreciated,

Thanks,

-Troy

Back To Top PM Quote Reply  

 Posted: Sat Jan 16th, 2010 11:43 pm
  PM Quote Reply
2nd Post
Devans
License Holder


Joined: Tue May 27th, 2008
Location: Iowa USA
Posts: 1398
Status: 
Offline
Mana: 
User Gallery
Ill be watching this thread... I have vendors who would like to place a small banner in their individual forums....

I have tried this, but to no avail.


Back To Top PM Quote Reply

 Posted: Sat Jan 16th, 2010 11:53 pm
  PM Quote Reply
3rd Post
Devans
License Holder


Joined: Tue May 27th, 2008
Location: Iowa USA
Posts: 1398
Status: 
Offline
Mana: 
User Gallery
Mine is working now...:)


Here is the code I used...

Rider tested apparel & accessories <a href="http://www.aspectcyclegear.com" target=_"blank"><img src="http://www.aspectcyclegear.com/images/cooltext437375790(1).gif"></a><p><p>



Back To Top PM Quote Reply  

 Posted: Sat Jan 16th, 2010 11:53 pm
  PM Quote Reply
4th Post
Devans
License Holder


Joined: Tue May 27th, 2008
Location: Iowa USA
Posts: 1398
Status: 
Offline
Mana: 
User Gallery
Im thinking I may have been missing a < or something the last time.

Back To Top PM Quote Reply

 Posted: Sun Jan 17th, 2010 12:32 am
  PM Quote Reply
5th Post
Troy33
TheBarkingCommunity.com


Joined: Fri Dec 19th, 2008
Location: Londonderry, New Hampshire USA
Posts: 38
Status: 
Offline
Mana: 
User Gallery
The differences I see with your code is that 1) you are making the image a link and 2) you are closing it off with 2 <p> tags (starting paragraph tag?)

I know that setting the image dimensions in the code keeps the image the size you dictate normally... I just don't see why the image is stretching to fill the area in this case?

Back To Top PM Quote Reply  

 Posted: Sun Jan 17th, 2010 12:40 am
  PM Quote Reply
6th Post
Devans
License Holder


Joined: Tue May 27th, 2008
Location: Iowa USA
Posts: 1398
Status: 
Offline
Mana: 
User Gallery
I know enough to get in to trouble Troy ;) I close all of the forum description with a <p> tag only because it spaces them more....I have OCD when it comes to clutter and close fit.;)

I tried it without the image being linked, and it worked also. Rather than setting image size in the code, I take their image and just resize it.

Back To Top PM Quote Reply

 Posted: Sun Jan 17th, 2010 01:09 am
  PM Quote Reply
7th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
OK guys hang on I type slow

Back To Top PM Quote Reply  

 Posted: Sun Jan 17th, 2010 01:11 am
  PM Quote Reply
8th Post
TVDinner
Go UCONN!


Joined: Wed May 9th, 2007
Location: North Carolina USA
Posts: 1618
Status: 
Offline
Mana: 
User Gallery
can someone please post a screen shot of this on their forum so I can see what you are talking about. I have a similar question but it might be slightly different.

I look forward to seeing a screen shot.

Back To Top PM Quote Reply

 Posted: Sun Jan 17th, 2010 01:13 am
  PM Quote Reply
9th Post
Devans
License Holder


Joined: Tue May 27th, 2008
Location: Iowa USA
Posts: 1398
Status: 
Offline
Mana: 
User Gallery
here ya go..


Attached Image (viewed 42 times):

1.jpg

Back To Top PM Quote Reply  

 Posted: Sun Jan 17th, 2010 01:22 am
  PM Quote Reply
10th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
First of all, use HTML wisely, the wrong tag can kill the function of the board.

So far the Ultra HTML is 4.01 transitional, Troy that means you have to drop the front slash at the end. That only applies to XHTML.

I always put the src call directly after the img and follow with all the other stuff. Also try your best to use all lower case in file names BUT if it has upper case it has to be called identical to the file name on a linux server. Best to get in a habit of naming all the images lower case and calling them that way.... just a good habit.

So in closing here is how I would have done it. I'm attaching an image because the $ b a s e _ d i r variable somehow gets replaced in posts. All in one line too, I had to add the line break to get it in the picture.....

Attached Image (viewed 44 times):

captured.jpg

Back To Top PM Quote Reply

 Posted: Sun Jan 17th, 2010 04:39 am
  PM Quote Reply
11th Post
Troy33
TheBarkingCommunity.com


Joined: Fri Dec 19th, 2008
Location: Londonderry, New Hampshire USA
Posts: 38
Status: 
Offline
Mana: 
User Gallery
Thanks, Jim!

Well I learned a few things through all of this. A little more about code for one. But..............The real problem turned out to be something simple. My image was getting stretched out because I had zoomed in with Ctrl+scroll wheel earlier while viewing in Firefox. I did not realize I was still enlarging text (and pics) at the time. I went to the Firefox menu, just now, and clicked View>Zoom>Reset the picture was returned to actual size. I guess to everyone else on our forum the image looked fine!

All this running around trying to fix it and it wasn't broken! Sorry! Oh well! At least other UltraBB members will read this thread and learn that they can place images in the Description box this way.

Thanks again!

-Troy

Back To Top PM Quote Reply  

 Posted: Tue Jan 19th, 2010 03:08 am
  PM Quote Reply
12th Post
TVDinner
Go UCONN!


Joined: Wed May 9th, 2007
Location: North Carolina USA
Posts: 1618
Status: 
Offline
Mana: 
User Gallery
Devans wrote: here ya go..



ok so it is the same as I am doing on my forum now.

this is a different question then I have for Jim for individual forum.

thanks!

Attached Image (viewed 32 times):

FireShot capture #014 - 'Watch Freeks' - www_watchfreeks_com.jpg

Back To Top PM Quote Reply

Current time is 09:47 am  
UltraBB Forums > UltraBB > Software Assistance > IMG code placed in forum description Top



Hosting

UltraBB 1.17 Copyright © 2007-2011 Data 1 Systems, INC.
Page processed in 0.3446 seconds (17% database + 83% PHP). 26 queries executed.