Hard Light Productions Forums

Site Management => Site Support / Feedback => Topic started by: FreeSpaceFreak on April 08, 2013, 03:21:23 am

Title: [img] and [lvlshot]
Post by: FreeSpaceFreak on April 08, 2013, 03:21:23 am
While narrow-window-browsing, I noticed that pictures in img tags are now apparently scaled to browser window width, making lvlshot effectively obsolete. Furthermore, img pictures are not stretched beyond their original size, like lvlshot does.

This is how it always should have been - no more pictures wider than the browser, nor fuzzy-stretched pictures on widescreen resolutions. No more teaching newbies to use lvlshot. Whoever made this change, please accept my profound gratitude :)
Title: Re: [img] and [lvlshot]
Post by: Darius on April 11, 2013, 01:16:42 am
So does this mean all [img] tags all the time? Sorry, I haven't been keeping up with forum features...
Title: Re: [img] and [lvlshot]
Post by: FreeSpaceFreak on April 12, 2013, 09:30:41 am
So does this mean all [img] tags all the time? Sorry, I haven't been keeping up with forum features...
Yep, quite so.

Icing on the cake now would be if [lvlshot] tags would be redirected to behave the same as [img], and blurry images would be a thing of the past for good! (hint hint... :D)
Title: Re: [img] and [lvlshot]
Post by: General Battuta on April 12, 2013, 09:41:28 am
Nooo making images big and blurry is a vital posting capability. It is my posting backbone
Title: Re: [img] and [lvlshot]
Post by: The E on April 12, 2013, 10:44:31 am
(http://www.hard-light.net/forums/Smileys/HLP/biggrin.gif)

Brought to you by the power of lvlshot!
Title: Re: [img] and [lvlshot]
Post by: Jeff Vader on April 12, 2013, 11:17:47 am
Looks evil.
Title: Re: [img] and [lvlshot]
Post by: BritishShivans on April 12, 2013, 11:29:26 am
burn it

burn it with the holy promethium from mars
Title: Re: [img] and [lvlshot]
Post by: Jeff Vader on April 12, 2013, 01:50:06 pm
Ow ow ow. I think it burned my retinae.
Title: Re: [img] and [lvlshot]
Post by: An4ximandros on April 12, 2013, 02:03:09 pm
Nooo making images big and blurry is a vital posting capability. It is my posting backbone

 Support this notion! Blurry images are excellent ways of making teasers. Why use GIMP when the forums could do it for me?
Title: Re: [img] and [lvlshot]
Post by: General Battuta on April 12, 2013, 02:17:14 pm
Nooo making images big and blurry is a vital posting capability. It is my posting backbone

 Support this notion! Blurry images are excellent ways of making teasers. Why use GIMP when the forums could do it for me?

that's not going to work very well
Title: Re: [img] and [lvlshot]
Post by: Axem on May 10, 2013, 05:56:52 pm
Apparently this isn't as iron-clad as it appears!

I used img tags on the latest newsletter, but apparently that breaks the margins on the main page!

Thanks to BW who found this out and fixed this in my post.

See these pics for comparison!

http://lazymodders.fsmods.net/files/imgtag.jpg
http://lazymodders.fsmods.net/files/lvlshot.jpg
Title: Re: [img] and [lvlshot]
Post by: Dragon on May 12, 2013, 04:36:09 am
Looks like it works differently on the main page than it does on the forums. Odd.
Title: Re: [img] and [lvlshot]
Post by: Goober5000 on May 13, 2013, 11:11:00 pm
The HTML is the same in both cases.  Perhaps the CSS on the main page is different.
Title: Re: [img] and [lvlshot]
Post by: Herra Tohtori on May 14, 2013, 01:29:47 am
Look, just re-enable* the [img width=X height=Y]<url>[/img] so we can set the image to scale to the exact size we want it to be (within reasonable limits for the X and Y parametres of course).

Both lvlshot and automatically-scaling img tag are imprecise and suboptimal solutions.

*This used to work, but then it didn't work any more. Last time I tried it didn't work, so I assume it continues to not work at this time.
Title: Re: [img] and [lvlshot]
Post by: FreeSpaceFreak on May 14, 2013, 04:47:30 am
Look, just re-enable* the [img width=X height=Y]<url>[/img] so we can set the image to scale to the exact size we want it to be (within reasonable limits for the X and Y parametres of course).

Wouldn't that hard-fix the size of images, and thus royally suck either for narrow-screen or wide-screen users?
Title: Re: [img] and [lvlshot]
Post by: Herra Tohtori on May 14, 2013, 07:53:12 pm
Wouldn't that hard-fix the size of images, and thus royally suck either for narrow-screen or wide-screen users?


Not if you limit it to something sensible. For example limiting width to 960 pixels would probably work on all displays... and that would happen to be 1920 divided by two.
Title: Re: [img] and [lvlshot]
Post by: Androgeos Exeunt on May 18, 2013, 03:03:50 am
Apparently this isn't as iron-clad as it appears!

I used img tags on the latest newsletter, but apparently that breaks the margins on the main page!

Thanks to BW who found this out and fixed this in my post.

See these pics for comparison!

http://lazymodders.fsmods.net/files/imgtag.jpg
http://lazymodders.fsmods.net/files/lvlshot.jpg

I knew it. The newsletter is also a testbed for tag quirks. :p


Wouldn't that hard-fix the size of images, and thus royally suck either for narrow-screen or wide-screen users?


Not if you limit it to something sensible. For example limiting width to 960 pixels would probably work on all displays... and that would happen to be 1920 divided by two.

You could go even further and reduce it to 480 pixels, which means even somebody who still uses a 640x480 screen size won't have issues browsing pages.
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 27, 2013, 09:01:06 pm
What I can do is assign a max-width of 100% to all [img] and [lvlshot] images. Goob/whoever - where do I change the HTML code generated from said BBCode tags?

EDIT: Nevermind, found it. I've adjusted the generated image code on the forums; now for the frontpage.

EDIT 2: Frontpage is fixed now too. Images should be good to go at any size across both the forums and the mainpage.
Title: Re: [img] and [lvlshot]
Post by: FreeSpaceFreak on June 28, 2013, 05:46:35 am
What I can do is assign a max-width of 100% to all [img] and [lvlshot] images. Goob/whoever - where do I change the HTML code generated from said BBCode tags?

EDIT: Nevermind, found it. I've adjusted the generated image code on the forums; now for the frontpage.

EDIT 2: Frontpage is fixed now too. Images should be good to go at any size across both the forums and the mainpage.

So AFAICS, [img] and [lvlshot] now behave exactly the same? Yay for standardization :yes:
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 28, 2013, 02:31:21 pm
Yeah, I believe so. Unless anyone can think of a reason to use lvlshot from here on out - any way to differentiate it - I'm gonna recommend everyone use [img] tags from now on.
Title: Re: [img] and [lvlshot]
Post by: Luis Dias on June 28, 2013, 05:48:26 pm
Ok, so I'm slightly confused about a detail. What happens if I want to post an img with a lot lower width than the image itself?

Just can't?
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 28, 2013, 06:55:33 pm
Could you clarify that a bit? Do you mean like posting a smiley that takes up the entire width of the board? Or posting a large image so it appears much smaller than the full width?

Try [thumb] instead of [img].
Title: Re: [img] and [lvlshot]
Post by: Goober5000 on June 28, 2013, 07:29:19 pm
Yeah, I believe so. Unless anyone can think of a reason to use lvlshot from here on out - any way to differentiate it - I'm gonna recommend everyone use [img] tags from now on.

Making smileys bigger:

(http://www.hard-light.net/forums/Smileys/HLP/wtf.gif)

See, it no longer works.  This was used to great effect in some ancient posts.
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 28, 2013, 07:42:17 pm
Yeah, I believe so. Unless anyone can think of a reason to use lvlshot from here on out - any way to differentiate it - I'm gonna recommend everyone use [img] tags from now on.

Making smileys bigger:

(http://www.hard-light.net/forums/Smileys/HLP/wtf.gif)

See, it no longer works.  This was used to great effect in some ancient posts.

I know!! :( I nearly busted a gut laughing at some of those... not sure what to do though... restore lvlshot to forcing images to be wider than their native size?
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 28, 2013, 07:46:10 pm
Ok, you're right... fixed. :D
Title: Re: [img] and [lvlshot]
Post by: Goober5000 on June 28, 2013, 07:48:50 pm
Thanks. :D
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 28, 2013, 07:52:15 pm
I also disabled the image smoothing in what browsers I could. Unfortunately Chrome doesn't obey the rules for now. Ah well.
Title: Re: [img] and [lvlshot]
Post by: Luis Dias on June 28, 2013, 08:10:09 pm
Could you clarify that a bit? Do you mean like posting a smiley that takes up the entire width of the board? Or posting a large image so it appears much smaller than the full width?

Try [thumb] instead of [img].

Imagine I got a 900 width pixel image. I want to post it with 300 pixel. Not "thumbed down", still readable, but just not gigantic. What exactly can I do?
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 28, 2013, 08:11:34 pm
...try [thumb]. ;)
Title: Re: [img] and [lvlshot]
Post by: Luis Dias on June 28, 2013, 08:16:54 pm
[thumb=300]http://apod.nasa.gov/apod/image/0304/bluemarble2k_big.jpg[/thumb]

[thumb]http://apod.nasa.gov/apod/image/0304/bluemarble2k_big.jpg[/thumb]

[thumb=http://apod.nasa.gov/apod/image/0304/bluemarble2k_big.jpg][/thumb]


How do I use it :confused:??
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 28, 2013, 08:22:56 pm
Huh. It should work just like img and lvlshot...

[thumb]http://www.hard-light.net/forums/Smileys/HLP/confused.gif[/thumb]
Title: Re: [img] and [lvlshot]
Post by: Fury on June 29, 2013, 04:19:14 am
You could make an sql query to replace all lvlshot tags with img tags and remove lvlshot tag entirely from forum code.
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 29, 2013, 04:53:22 am
If I was comfortable with MySQL queries and the forum database format, I might try that... ;)
Title: Re: [img] and [lvlshot]
Post by: Fury on June 29, 2013, 06:22:51 am
Ask Goober and Zacam, they've done those before.
Title: Re: [img] and [lvlshot]
Post by: Goober5000 on June 29, 2013, 12:32:29 pm
That's certainly within the realm of possibility, but why would you want to?
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 29, 2013, 02:52:42 pm
Just to get rid of non-standard code I guess...?
Title: Re: [img] and [lvlshot]
Post by: Goober5000 on June 29, 2013, 03:40:05 pm
But then you'd lose the effect of the classic posts with lvlshot in them.
Title: Re: [img] and [lvlshot]
Post by: Sandwich on June 29, 2013, 04:25:09 pm
True. Whatever. :p