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

0 Members and 1 Guest are viewing this topic.

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8330
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #50 on: June 01, 2013, 11:09:26 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.
People putting the huge images inline in their posts.
 

Telequipment

  • Guest
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #51 on: June 01, 2013, 11:13:06 am »
go on ebay get one of the big ones usual fitted with crap caps , buy a broken one fix it job done I did just that.
 

Offline Rasz

  • Super Contributor
  • ***
  • Posts: 2617
  • Country: 00
    • My random blog.
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #52 on: June 01, 2013, 11:33:11 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.
People putting the huge images inline in their posts.

proper forum css should cover that.
Who logs in to gdm? Not I, said the duck.
My fireplace is on fire, but in all the wrong places.
 

Offline 4to20Milliamps

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #53 on: June 01, 2013, 02:58:29 pm »
Big pictures don't bother me......but I don't have ocpd.
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #54 on: June 01, 2013, 04:10:36 pm »
Its for website .css file
but good browsers have something called user.css, you can even enforce it with userjs/greasemonkey

That remark was good for a chuckle!  ;D I suspect that the crowd that uses greasemonkey will be of the sort that actually knows how to press the [Resize This Megapixel Shit] button in their image processing software of choice.
 

Offline Rasz

  • Super Contributor
  • ***
  • Posts: 2617
  • Country: 00
    • My random blog.
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #55 on: June 01, 2013, 04:55:17 pm »
Its for website .css file
but good browsers have something called user.css, you can even enforce it with userjs/greasemonkey

That remark was good for a chuckle!  ;D I suspect that the crowd that uses greasemonkey will be of the sort that actually knows how to press the [Resize This Megapixel Shit] button in their image processing software of choice.

umm you are mixing two things
-people that link huge images with img tag
-people that are clueless and post derogatory topics here because they dont know how to make browser resize stuff on their end

In my browser simply clicking CTRL-F11 will force webpage to be scaled properly on the screen. In other browsers you might need to make user.css file to fix that.
Who logs in to gdm? Not I, said the duck.
My fireplace is on fire, but in all the wrong places.
 

jucole

  • Guest
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #56 on: June 01, 2013, 08:02:11 pm »
Just messing with an install of a blank forum on my machine here; and the thumb display option is driven with...

Code: [Select]
// If the image is too large to show inline, make it a popup.
if (( (!empty($modSettings['max_image_width']) && $attachmentData[$i]['real_width'] > $modSettings['max_image_width']) || (!empty($modSettings['max_image_height']) && $attachmentData[$i]['real_height'] > $modSettings['max_image_height'])))
$attachmentData[$i]['thumbnail']['javascript'] = 'return reqWin(\'' . $attachmentData[$i]['href'] . ';image\', ' . ($attachment['width'] + 20) . ', ' . ($attachment['height'] + 20) . ', true);';
else
$attachmentData[$i]['thumbnail']['javascript'] = 'return expandThumb(' . $attachment['id_attach'] . ');';

If I upload a big PCB image to my forum and force it to use the ...

Code: [Select]
$attachmentData[$i]['thumbnail']['javascript'] = 'return reqWin(\'' . $attachmentData[$i]['href'] . ';image\', ' . ($attachment['width'] + 20) . ', ' . ($attachment['height'] + 20) . ', true);';

It seems to open the large image in a nice window - which is something I've never actually seen before in a forum.

I'm pretty new to the forum Admin section but I can't find the setting to tweak the "max_image_width"   I can see the value in the db tables but is it a setting in the admin area?
 

jucole

  • Guest
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #57 on: June 01, 2013, 09:01:53 pm »
I can't find the setting in the admin section - so if you wanted you could hack some values to the "smf_settings" table and the fields "max_image_width" and "max_image_height"  the values would need to be the smallest embedded image before you'd want to click to open the popup window for giant images;  so something like 768 might be suitable.

 

Online xrunner

  • Super Contributor
  • ***
  • Posts: 7567
  • Country: us
  • hp>Agilent>Keysight>???
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #58 on: June 01, 2013, 09:23:16 pm »
I'm pretty new to the forum Admin section but I can't find the setting to tweak the "max_image_width"   I can see the value in the db tables but is it a setting in the admin area?

Configuration / Layout

Max width of posted pictures (0 = disable)
Max height of posted pictures (0 = disable)
I told my friends I could teach them to be funny, but they all just laughed at me.
 

jucole

  • Guest
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #59 on: June 01, 2013, 09:27:35 pm »
I'm pretty new to the forum Admin section but I can't find the setting to tweak the "max_image_width"   I can see the value in the db tables but is it a setting in the admin area?

Configuration / Layout

Max width of posted pictures (0 = disable)
Max height of posted pictures (0 = disable)

ah thanks, found it! :-)
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 2687
  • Country: us
  • Not An Expert
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #60 on: June 01, 2013, 09:44:32 pm »
This thread exploded!  With good reason though.  While I'm guilty of posting some, the giant photo thing is kind of annoying.  There really should be a better picture storage/presentation system for posts built in.

What I end up doing is resizing the whole browser tab when I'm looking at the photos (CTRL+mouse wheel on firefox) so they fit on the screen without any horizontal scrolling and then resizing it back when reading the text.  This is actually really fast to do and doesn't bother me too much.  It's kind of nice to have high rez pictures of PCBs and things with text on them, so I don't mind too much anymore.
 

Offline ee851

  • Regular Contributor
  • *
  • Posts: 122
  • Country: us
  • carbon-based caveman
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #61 on: June 01, 2013, 10:02:52 pm »
It irks me too to see full-resolution digital photographs on my outdated and dinky 15 inch CRT.      It would be nice the forum provided a storage area for the digital photographs, so that the
author could just provide a hypertext link that clickin upon would download the full-res. photo.    However, that could eat up a lot of space of the forum server if a significant fraction of posters start making use of it.      As in more than a quarter.    But I think it would be better than simply automatically displaying in your browser a very, very, very tiny viewport on a very, very, very, very large high-res. image.

GIMP is a good application program for making digital images smaller.
 

jucole

  • Guest
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #62 on: June 02, 2013, 11:26:27 am »
I did a bit more hacking around with the SMF code and found that the tweak in my other post worked ok with the large uploaded attached image, but it didn't solve the inline image problem, so I tried a little hack;  so now in my test forum when you add a massive inline image and click the thumb instead of calling..

Code: [Select]
this.style.width = this.style.height = this.style.width == 'auto' ? null : 'auto';
which sets the nice thumb size to something ridiculously massive!


I replaced it with..
Code: [Select]
reqWin( this.src, 1024, 768, false);

Which instead opens a nice popup; which is exactly what happens when you upload a big image.  It would be nice to add bit of code to get the image size and intelligently work out whether a popup is needed etc;  or you could perhaps detect multiple images and popup a cute slideshow.



[edit: the above line of code can be found in "themes\default\scripts\theme.js" ~ Line 34]
« Last Edit: June 02, 2013, 12:20:54 pm by jucole »
 

jucole

  • Guest
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #63 on: June 02, 2013, 11:44:05 am »
So the answer to the OP question is "neither"   ;)
 

Offline BravoVTopic starter

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: Are "certain" people just retarded or my monitor is way outdated ?
« Reply #64 on: June 02, 2013, 04:12:51 pm »
This thread exploded!  With good reason though. 

Yes, its a big success looking at the view counts imo.   :-+

With the current 1300 views, and also presumably multiple views by same active posters in here, I'd say take or give, its quite safe to assume that this thread has reached at least 10% of this forum members which are currently about 7000.  Personally I'm happy with this figure. :-+


So the answer to the OP question is "neither"   ;)

I see this as a complete closure, finally, someone who actually responded to this rhetorical question, appreciate that, thank you.  :clap:

Also thanks to other posters that actually responding this thread by giving some technical contributions through suggestions, although not sure if those can be easily implemented here by Dave. If you're serious and committed to pursue it, please help Dave by launching a new thread at the forum's Suggestions section.

Interestingly this thread is quite good at catching trolls too, yeah, identified few of them by voluntarily showing their attitude through their post.  :-DD

For sure I'm not going to win a popularity contest by launching this thread in this forum, especially with these "carefully" crafted title  >:D.  Sorry guys, had to do it.

Lets hope post with giant inline photo will be much less.

Thread closed and let this sink down to the bottom, again, thanks.
« Last Edit: June 02, 2013, 04:52:55 pm by BravoV »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf