Author Topic: Are "certain" people just retarded or my monitor is way outdated ?  (Read 16355 times)

0 Members and 3 Guests are viewing this topic.

Offline grumpydoc

  • Super Contributor
  • ***
  • Posts: 2906
  • Country: gb
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #25 on: May 30, 2013, 01:23:29 pm »
Quote
I am always surprised that modern cameras take pictures at such huge resolutions.

I'm not - it's because the manufacturers got into a "more pixels = better" marketing dick-size war.

SMF supports width & height attributes for images so it really isn't hard, you just have to add width=1024 (or thereabouts) to your image tag.

I suspect that the problem is the many people genuinely don't understand how big the images are because every other tool auto-resizes them to the display size.

There are some SMF extensions to improve image handling on custom.simplemachines.org. I don't know whether Dave would be willing to have a look at any of them but I'm sure he could find something to help without having to start writing code himself.
 

Offline GeoffS

  • Supporter
  • ****
  • Posts: 1272
  • Country: au
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #26 on: May 30, 2013, 01:30:16 pm »
I've spent a bit of time this evening looking at SMF patches (modifications) and can't find any that really help with image size issue.
As pointed out, it is possible to change the way a large image is displayed by changing image tags but the user should have to resort to this level of hackery - the forum software should take care of it.
Perhaps someone could make their fame and fortune by writing such a modification? Well fame maybe, OK, grudging admiration...

Until then, it's a problem we'll have to live with.
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5101
  • Country: ro
  • .
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #27 on: May 30, 2013, 01:57:36 pm »
 

Offline grumpydoc

  • Super Contributor
  • ***
  • Posts: 2906
  • Country: gb
 

Offline GeoffS

  • Supporter
  • ****
  • Posts: 1272
  • Country: au
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #29 on: May 30, 2013, 02:11:16 pm »
I must admit the sort of mod I was looking for was one that reduced the size of the stored image rather than just rescaling it to suit display conditions.
This would reduce the amount of disk space that images use, a great help to Dave's reported backup issues.

Of the two SMF mods mentioned above, one is not compatible with the version of SMF used in this forum, the other can't be installed automatically and requires multiple files to be edited. Doing so presents a real risk of breaking the forums over what is a minor, although annoying, issue.
 

Offline grumpydoc

  • Super Contributor
  • ***
  • Posts: 2906
  • Country: gb
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7931
  • Country: de
  • A qualified hobbyist ;)

Also is there any SMF add-on that can limit the resolution of the uploaded photos ? This will definitely helps on Dave on maintaining his server storage capacity too.


Not that I can find. There are modifications to limit image size for images linked to an external site (photobucket, etc) and to limit the size of the upload based on file extension but nothing that limits the dimensions of an uploaded image.

Since it's a linux box you could use imagemagick (mogrify) the rescale large pictures stored locally. For external pictures there are two solutions. Simply fetch the picture and store it locally (prevents also broken posts if the picture drifted into the void) while using mogrify. Or scale them down by HTML (just for displaying, but the large picture is fetched anyway by the browser).
 

Offline GeoffS

  • Supporter
  • ****
  • Posts: 1272
  • Country: au
Since it's a linux box you could use imagemagick (mogrify) the rescale large pictures stored locally. For external pictures there are two solutions. Simply fetch the picture and store it locally (prevents also broken posts if the picture drifted into the void) while using mogrify. Or scale them down by HTML (just for displaying, but the large picture is fetched anyway by the browser).

Any solution will need to be plug-n-play and not one that requires programming, testing etc, Dave doesn't have a dedicated IT team to support any other sort of solution.
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5101
  • Country: ro
  • .
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #33 on: May 30, 2013, 02:46:13 pm »
You could implement one of the solutions that just resize the image in browser.

It would still be better than nothing, and can be removed when you figure out a solution to have the images resized on upload.
 

Offline Hydrawerk

  • Super Contributor
  • ***
  • Posts: 2605
  • Country: 00
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #34 on: May 30, 2013, 03:17:10 pm »
I have a 17 inch LG LCD monitor 1280×1024 pixels. It's enough for me. When it's PSU breaks down, I will replace it in a minute, because it's an external 12V power supply.  :-+
Amazing machines. https://www.youtube.com/user/denha (It is not me...)
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5101
  • Country: ro
  • .
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #35 on: May 30, 2013, 03:29:06 pm »
I have a 17 inch LG LCD monitor 1280×1024 pixels. It's enough for me. When it's PSU breaks down, I will replace it in a minute, because it's an external 12V power supply.  :-+
Eventually the CFL lamps with die out and you'll find out that when you add the shipping, they often cost more than a new or second hand 19-21" monitor.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7931
  • Country: de
  • A qualified hobbyist ;)
Any solution will need to be plug-n-play and not one that requires programming, testing etc, Dave doesn't have a dedicated IT team to support any other sort of solution.

Please see http://docs.simplemachines.org/index.php?topic=89.0 at the bottom:

"Resize images when showing under Post - Limit the size of the image when displaying within the forum. This is useful when you have specified a width for your entire Forum and you do not want the image to stretch further distorting your Forum look."

 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8520
  • Country: us
    • SiliconValleyGarage
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #37 on: May 30, 2013, 03:43:03 pm »
If it is a picture i typically scale it to 1024 768. Unless i want to show as much detail as possible , like a teardown picture where tou can read all part numbers.

As for screenshots. I try to scale em too . But the point is that today a lot of people run dual monitor setups... So in my case a 3840 1200 screengrab would be possible... ( i have 1920-1200 monitors la2405x from HP)
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline steve30

  • Frequent Contributor
  • **
  • Posts: 734
  • Country: england
    • Stephen Coates' Homepage
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #38 on: May 30, 2013, 03:56:14 pm »
For reference, I like how phpBB3 handles embedded images and attachments. I think it does it much better than this forum.

For an idea, see http://68kmla.org/forums/viewtopic.php?f=2&t=525&start=575. (Not sure if that page requires login or not).

Unfortunately I don't know how to actually go about improving SMF.
 

Offline Hydrawerk

  • Super Contributor
  • ***
  • Posts: 2605
  • Country: 00
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #39 on: May 30, 2013, 03:58:08 pm »

Eventually the CFL lamps with die out and you'll find out that when you add the shipping, they often cost more than a new or second hand 19-21" monitor.
OK, I am not gonna use that monitor forever.
Amazing machines. https://www.youtube.com/user/denha (It is not me...)
 

Offline Rasz

  • Super Contributor
  • ***
  • Posts: 2617
  • Country: 00
    • My random blog.
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #40 on: May 30, 2013, 05:14:15 pm »
limiting upload dimensions (not file size) or resizing server side post facto are BAD, sometimes you want to show that pcb in detail and you need that 3000x1800 picture. Its fine as it is (having to click to make it bigger)
Who logs in to gdm? Not I, said the duck.
My fireplace is on fire, but in all the wrong places.
 

Offline GeoffS

  • Supporter
  • ****
  • Posts: 1272
  • Country: au
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #41 on: May 31, 2013, 01:31:50 am »
limiting upload dimensions (not file size) or resizing server side post facto are BAD, sometimes you want to show that pcb in detail and you need that 3000x1800 picture. Its fine as it is (having to click to make it bigger)
When this is necessary, you can post a link to an external image on a remote site such as dropbox, photobucket, etc.
This seems to work quite well on other forums on which I'm a member, especially those that run software which allows the administrator to limit photo size (dimensions) as well as file size.
 

Offline ve7xen

  • Super Contributor
  • ***
  • Posts: 1194
  • Country: ca
    • VE7XEN Blog
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #42 on: May 31, 2013, 05:53:59 am »
It is a question who comes with his hat in his hand. And that is the one asking a question. It is in his best interest to rub those who can answer at least remotely in the right way, by following a few established standards, instead of giving a flying fart.
From your attitude I would say the question is more whether you consider your fellow posters peers or otherwise. Not every discussion on this board is about someone seeking help.

limiting upload dimensions (not file size) or resizing server side post facto are BAD, sometimes you want to show that pcb in detail and you need that 3000x1800 picture. Its fine as it is (having to click to make it bigger)
I tend to agree. Server-side resize is a blunt instrument. If you're not willing to store both a display-size thumbnail AND the full-size image, I'd argue that just keeping the full-size image and resizing in browser is the better option. Storage is cheap and most people have plentiful bandwidth as well. Also the browser-side fix is much simpler to implement.

I never noticed that SMF supports a width attribute for img tags. That's helpful.
73 de VE7XEN
He/Him
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8330
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #43 on: May 31, 2013, 08:21:39 am »
Here's a little snippet of CSS that will cause images to resize to the width of the user's browser window:
Code: [Select]
<style>.bbc_img {width: 100%;}</style>
 

Offline GeoffS

  • Supporter
  • ****
  • Posts: 1272
  • Country: au
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #44 on: May 31, 2013, 08:23:09 am »
Here's a little snippet of CSS that will cause images to resize to the width of the user's browser window:
Code: [Select]
<style>.bbc_img {width: 100%;}</style>

And how exactly is a user supposed to use this?  :-//
 

Offline grumpydoc

  • Super Contributor
  • ***
  • Posts: 2906
  • Country: gb
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #45 on: May 31, 2013, 08:46:15 am »
Quote
Here's a little snippet of CSS that will cause images to resize to the width of the user's browser window:

As long as it isn't applied to all images indiscriminately because I edit mine down to an appropriate size (and host them myself unless it's a *very* quick post) and would be a bit put off if mine were stretched to fill the browser window no matter what.
 

Offline Rasz

  • Super Contributor
  • ***
  • Posts: 2617
  • Country: 00
    • My random blog.
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #46 on: May 31, 2013, 09:11:12 am »
Here's a little snippet of CSS that will cause images to resize to the width of the user's browser window:
Code: [Select]
<style>.bbc_img {width: 100%;}</style>

And how exactly is a user supposed to use this?  :-//

Its for website .css file
but good browsers have something called user.css, you can even enforce it with userjs/greasemonkey
Who logs in to gdm? Not I, said the duck.
My fireplace is on fire, but in all the wrong places.
 

Offline MacAttak

  • Supporter
  • ****
  • Posts: 683
  • Country: us
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #47 on: May 31, 2013, 08:05:31 pm »
This CSS would probably be better to globally make it so that by default any image will not attempt to display more than 1024 pixels wide (or make the max width whatever you want).

Code: [Select]
img{
    max-width:1024px;
}

It would be added to the custom CSS file for the forum theme, or if the admin console has a way to inject custom CSS via a configuration setting.

Users would not need to do anything differently.

It would not do anything about storage quotas - you could still upload files as large as you want.

I'm pretty sure the width attribute on the img tag that you can use with BBCode would still work (for the advanced users who tend to make use of BBCode or know enough about it to alter the image tags that get inserted into posts).

------------

The best solution is a PictureBox module (sometimes called a "Lightbox") for the forum.

And I continue to stand by my own interim solution of hosting the images in my own posts on a site like imgur and remote-linking to them to eliminate storage costs, and then always specifying the width attribute on the img tag in BBCode format so that the posting shows up the way you want it to.

------------

For most forums, I would agree with the sentiment that people need to have their hands held. But this isn't a typical forum. We are kind of expected to be somewhat technical and have some basic comfort with computers.
« Last Edit: May 31, 2013, 08:07:04 pm by MacAttak »
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5101
  • Country: ro
  • .
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #48 on: May 31, 2013, 08:27:01 pm »

And I continue to stand by my own interim solution of hosting the images in my own posts on a site like imgur and remote-linking to them to eliminate storage costs, and then always specifying the width attribute on the img tag in BBCode format so that the posting shows up the way you want it to.

Problem with that is that half a year, or a year from now, imgur and other hosts may go bye bye (bankrupt, bought by others etc) or they may delete old files and then some forum member tries to see your post and your pictures and they no longer resolve to anything.

The old excuses (pictures taking too much disk space, too much backup space, daily backup takes too long), bandwidth is expensive etc... are just excuses, and weak ones.
You can add a 500GB-1TB disk to a server for 5-15$ a month, you can get 100 mbps unmetered bandwidth for under 100$ a month (server included), backups should be incremental (backup only differences not the whole drive) etc etc

The only valid reason against large pictures is imho that  takes too long for pages to load to people with slow connections... 

a good idea would be to store on the server both a 800x600/1024x768 version AND the original full size picture. Then, when clicking on thumbnail, show the resized picture with a link at the bottom of the picture to the full picture.
 

Offline Rasz

  • Super Contributor
  • ***
  • Posts: 2617
  • Country: 00
    • My random blog.
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #49 on: June 01, 2013, 08:13:35 am »
a good idea would be to store on the server both a 800x600/1024x768 version AND the original full size picture. Then, when clicking on thumbnail, show the resized picture with a link at the bottom of the picture to the full picture.

This is how it works right now, by default you get ~100x100 thumbnails, they only change to original big image if you click them.
This is perfect and "just works". I really dont know what the "just retarded" OP was about when he created this topic.
Who logs in to gdm? Not I, said the duck.
My fireplace is on fire, but in all the wrong places.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf