| ||||
| ||||
| 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 |
|
||||||||||||||
| IMG code placed in forum description | Rate Topic |
| Author | Post |
|---|
| Posted: Sat Jan 16th, 2010 10:53 pm |
|
1st Post |
|
Troy33 TheBarkingCommunity.com
|
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
|
||||||||||||||
| |||||||||||||||
| Posted: Sat Jan 16th, 2010 11:43 pm |
|
2nd Post |
|
Devans License Holder
|
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.
|
|||||||||||||
| ||||||||||||||
| Posted: Sat Jan 16th, 2010 11:53 pm |
|
3rd Post |
|
Devans License Holder
|
Mine is working now... Here is the code I used...
|
||||||||||||||
| |||||||||||||||
| Posted: Sat Jan 16th, 2010 11:53 pm |
|
4th Post |
|
Devans License Holder
|
Im thinking I may have been missing a < or something the last time.
|
|||||||||||||
| ||||||||||||||
| Posted: Sun Jan 17th, 2010 12:32 am |
|
5th Post |
|
Troy33 TheBarkingCommunity.com
|
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?
|
||||||||||||||
| |||||||||||||||
| Posted: Sun Jan 17th, 2010 12:40 am |
|
6th Post |
|
Devans License Holder
|
I know enough to get in to trouble Troy 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.
|
|||||||||||||
| ||||||||||||||
| Posted: Sun Jan 17th, 2010 01:09 am |
|
7th Post |
|
Jim I work here
|
OK guys hang on I type slow
|
||||||||||||||
| |||||||||||||||
| Posted: Sun Jan 17th, 2010 01:11 am |
|
8th Post |
|
TVDinner Go UCONN!
|
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.
|
|||||||||||||
| ||||||||||||||
| Posted: Sun Jan 17th, 2010 01:13 am |
|
9th Post |
|
Devans License Holder
|
here ya go.. Attached Image (viewed 42 times):
|
||||||||||||||
| |||||||||||||||
| Posted: Sun Jan 17th, 2010 01:22 am |
|
10th Post |
|
Jim I work here
|
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):
|
|||||||||||||
| ||||||||||||||
| Posted: Sun Jan 17th, 2010 04:39 am |
|
11th Post |
|
Troy33 TheBarkingCommunity.com
|
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
|
||||||||||||||
| |||||||||||||||
| Posted: Tue Jan 19th, 2010 03:08 am |
|
12th Post |
|
TVDinner Go UCONN!
|
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):
|
|||||||||||||
| ||||||||||||||
| Current time is 09:47 am | |
| UltraBB Forums > UltraBB > Software Assistance > IMG code placed in forum description | Top |
![]() |