The Rolex Forums   The Rolex Watch

ROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEX

Old 17 June 2017, 05:15 PM   #1
Lol-x
Facilitator
 
Lol-x's Avatar
 
Join Date: Nov 2005
Real Name: Steve
Location: In transit
Posts: 28,359
[IMG] PHOTOS RESIZE Coded

Hi Guys

I've done some custom coding to help us out with the massively oversized photos.

When guys attach an image it can be massive using the [img] [/img] code

When you use the [img] tag now the image will automatically be resized to 1100 pixels in width and the height will also be automatically proportionally adjusted.

Here is an example:

Here is a link to the original size of the image which is 1820 pixels wide
https://uploads.tapatalk-cdn.com/201...c2a08e2c6a.jpg

Now using the [img] tag its automatically resized to 1100 pixels wide.
__________________

Most folks are about as happy as they make up their minds to be. ~Abraham Lincoln
Nothing compares to the simple pleasure of a bike ride. ~John F. Kennedy

ROLEXploitation - yeah I'm a victim
Lol-x is offline   Reply With Quote
Old 17 June 2017, 05:27 PM   #2
Lol-x
Facilitator
 
Lol-x's Avatar
 
Join Date: Nov 2005
Real Name: Steve
Location: In transit
Posts: 28,359
This has put an end to any oversized images.

No one will have to do the horizontal scroll again!!!!!

And the great thing is that this change operates retrospectively, so it applies to all photos ever posted on the forum that were too large.

So it will make all threads both pre-existing and new much more easy to read and navigate.
__________________

Most folks are about as happy as they make up their minds to be. ~Abraham Lincoln
Nothing compares to the simple pleasure of a bike ride. ~John F. Kennedy

ROLEXploitation - yeah I'm a victim
Lol-x is offline   Reply With Quote
Old 17 June 2017, 06:18 PM   #3
Runnin' Rebel
2017 HULK Pledge Member
 
Runnin' Rebel's Avatar
 
Join Date: Jan 2010
Location: .
Posts: 7,560
Excellent Steve !

That'll stop the confusion hopefully

Runnin' Rebel is offline   Reply With Quote
Old 17 June 2017, 06:23 PM   #4
Xenophon
2017 HULK Pledge Member
 
Xenophon's Avatar
 
Join Date: Dec 2008
Real Name: Xenophon
Location: UK
Watch: me flip
Posts: 2,480
Excellent, thank-you Steveo
__________________
The sea! The sea! Θάλαττα! θάλαττα!
Xenophon is offline   Reply With Quote
Old 17 June 2017, 07:43 PM   #5
mtb
"TRF" Member
 
mtb's Avatar
 
Join Date: May 2013
Location: Singapore
Watch: Sky/Sea/Land
Posts: 529
Cool!

Does it work on Tapatalk automatically?
mtb is offline   Reply With Quote
Old 17 June 2017, 07:51 PM   #6
Lol-x
Facilitator
 
Lol-x's Avatar
 
Join Date: Nov 2005
Real Name: Steve
Location: In transit
Posts: 28,359
Yes, it works on tapatalk automatically
__________________

Most folks are about as happy as they make up their minds to be. ~Abraham Lincoln
Nothing compares to the simple pleasure of a bike ride. ~John F. Kennedy

ROLEXploitation - yeah I'm a victim
Lol-x is offline   Reply With Quote
Old 17 June 2017, 08:00 PM   #7
Jocke
2017 HULK Pledge Member
 
Jocke's Avatar
 
Join Date: Apr 2006
Real Name: Joacim
Location: Sweden
Watch: A dozen of Rolex's
Posts: 19,600
At the moment the pics a way bigger than the original size so it looks like it not work as it should.
__________________
This message is written in perfect swenglish.

What is best a custom Rolex or a Rolex that is stuck in custom?

Buy a professional camera and you´re a professional
photographer, buy a flute and you own a flute.
Jocke is offline   Reply With Quote
Old 17 June 2017, 09:27 PM   #8
Lol-x
Facilitator
 
Lol-x's Avatar
 
Join Date: Nov 2005
Real Name: Steve
Location: In transit
Posts: 28,359
Oh, well I've dropped the size to 1100 pixels wide, that is a reasonable size for the average computer screen.

Is there a problem with that???
__________________

Most folks are about as happy as they make up their minds to be. ~Abraham Lincoln
Nothing compares to the simple pleasure of a bike ride. ~John F. Kennedy

ROLEXploitation - yeah I'm a victim
Lol-x is offline   Reply With Quote
Old 17 June 2017, 09:59 PM   #9
Sperry
"TRF" Member
 
Sperry's Avatar
 
Join Date: Jan 2009
Real Name: Jim
Location: Home Sweet Home
Posts: 2,509
On another forum with a huge population of complainers, I resize to 800 pixels wide. 1100 seems fine to me.

I noticed yesterday this John Tenniel image would not upload without resizing.

Upon trying again today, I see the new software is not yet functioning for uploaded images (vs hosted images) ... here's the image after I resized it.

On a happy note, it is a great pleasure to have the uploading capability! Most forums do not support that convenience!

Screen Shot 2017-06-17 at 7.51.00 AM.png

Screen Shot 2017-06-17 at 7.54.10 AM.png

tweedle dee tweedle dum copy.jpg
__________________
American Toolbox
Sperry is online now   Reply With Quote
Old 17 June 2017, 11:08 PM   #10
Jocke
2017 HULK Pledge Member
 
Jocke's Avatar
 
Join Date: Apr 2006
Real Name: Joacim
Location: Sweden
Watch: A dozen of Rolex's
Posts: 19,600
Quote:
Originally Posted by Lol-x View Post
Oh, well I've dropped the size to 1100 pixels wide, that is a reasonable size for the average computer screen.

Is there a problem with that???
Still problem. Just click at the link and right click at the pic and you will get it in correct size.

https://www.rolexforums.com/showthread.php?t=544050
__________________
This message is written in perfect swenglish.

What is best a custom Rolex or a Rolex that is stuck in custom?

Buy a professional camera and you´re a professional
photographer, buy a flute and you own a flute.
Jocke is offline   Reply With Quote
Old 17 June 2017, 11:26 PM   #11
subtona
2017 HULK Pledge Member
 
subtona's Avatar
 
Join Date: Jan 2011
Real Name: gus
Location: East Coast
Watch: 3 to five
Posts: 19,380
Thanks for your efforts Steve.
__________________

"What gets us in trouble is not what we don't know, it's what we know for sure that just ain't so"
subtona is offline   Reply With Quote
Old 17 June 2017, 11:53 PM   #12
morimotom
2017 Pledge Member
 
Join Date: Aug 2012
Real Name: Mark
Location: Los Angeles
Watch: Explorer I
Posts: 141
I post fr M an iPad. Is there a way to resize?
morimotom is offline   Reply With Quote
Old 17 June 2017, 11:56 PM   #13
brandrea
2017 HULK Pledge Member
 
brandrea's Avatar
 
Join Date: Jul 2013
Real Name: Brian
Location: canada
Watch: es make me smile
Posts: 22,263
Well done Steve, thanks for all the effort.

I was going to start a thread titled " post your large pictures"
brandrea is offline   Reply With Quote
Old 18 June 2017, 10:07 AM   #14
AS1
2017 Pledge Member
 
AS1's Avatar
 
Join Date: Mar 2014
Location: NYC
Watch: 6263
Posts: 3,773
this is absolutely fantastic news. thanks Steve for your efforts here. it was never going to be possible to address this issue on the user side as most people were oblivious to the annoyance they were creating with huge images. the forum will be a much better place without the crazy sized photos!!
AS1 is offline   Reply With Quote
Old 18 June 2017, 03:11 PM   #15
Rock
"TRF" Member
 
Rock's Avatar
 
Join Date: Jun 2009
Real Name: Rocky
Location: Australia
Watch: Grail:Prince
Posts: 12,547
Steve, is there any way to avoid scaling-up small images?
I always re-size my images (reduce resolution) to ensure they display at a sensible size on the screen but now they are being massively stretched to match the width of the page, losing clarity in the process.
Sorry to be 'negative' when you have been trying to fix a problem.

Another thought:
I have noticed on other Forums that when images are wrapped in 'quote' tags, they display small enough to be seen in a single screen without needing to scroll, regardless of how big they are.
Could this be another solution?
__________________
Cellini 4112. Sub 14060M. DJ 16233.

Foundation Member of 'Horologists Anonymous' "Hi, I'm Rocky, and I'm a Horologist..."
Rock is offline   Reply With Quote
Old 18 June 2017, 03:18 PM   #16
Lol-x
Facilitator
 
Lol-x's Avatar
 
Join Date: Nov 2005
Real Name: Steve
Location: In transit
Posts: 28,359
Obviously if a photo is posted with portrait rather than landscape orientation, you may still have to scroll down (but not across) to see the full image. But I think landscape is the predominant orientation and it is the orientation of monitors, laptops and tablets (by and large).

The main objective is to provide an easier and more convenient viewing interface. There is no perfect outcome here, and it comes back to a shared responsibility, that members will have to crop and resize some of their images before posting because the forum software cannot do all the work for images of all shapes and sizes.

The images are fixed at 1050 pixels irrespective of size (small or larger) so as to achieve consistency of sizing.

Some people post small photos and some people post large photos, and complaints go both ways. There is only one way to achieve consistency and that is have a standard width of 1050 pixels. So now everyone knows everyone can adjust their photos to match.
__________________

Most folks are about as happy as they make up their minds to be. ~Abraham Lincoln
Nothing compares to the simple pleasure of a bike ride. ~John F. Kennedy

ROLEXploitation - yeah I'm a victim
Lol-x is offline   Reply With Quote
Old 18 June 2017, 03:37 PM   #17
Rock
"TRF" Member
 
Rock's Avatar
 
Join Date: Jun 2009
Real Name: Rocky
Location: Australia
Watch: Grail:Prince
Posts: 12,547
Yes, you are right about the predominance of Landscape orientation.
The 'long' images are those of 'long' things like bottles of wine etc.
I hadn't realised that many Members post images without 'sizing & scaling' them. I had always done that because of the massive resolution of modern digital pictures.
I also note that another way of posting images is to use the Forums "attach" option which posts them at the O/P's desired size/resolution.
Thanks for your efforts.
__________________
Cellini 4112. Sub 14060M. DJ 16233.

Foundation Member of 'Horologists Anonymous' "Hi, I'm Rocky, and I'm a Horologist..."
Rock is offline   Reply With Quote
Old 18 June 2017, 04:46 PM   #18
Lol-x
Facilitator
 
Lol-x's Avatar
 
Join Date: Nov 2005
Real Name: Steve
Location: In transit
Posts: 28,359
I made some additional coding modifications (entirely new revamped).
Now if an image is less than 1050 pixels in width it will not be modified, however if it is larger it will be reduced to 1050 pixels.

So if you post an image that is 800 pixels wide it will remain 800 pixels wide. So in other words there is no up-scaling of images only downscaling of images wider than 1050 pixels.

__________________

Most folks are about as happy as they make up their minds to be. ~Abraham Lincoln
Nothing compares to the simple pleasure of a bike ride. ~John F. Kennedy

ROLEXploitation - yeah I'm a victim
Lol-x is offline   Reply With Quote
Old 18 June 2017, 05:21 PM   #19
Rock
"TRF" Member
 
Rock's Avatar
 
Join Date: Jun 2009
Real Name: Rocky
Location: Australia
Watch: Grail:Prince
Posts: 12,547
Well Done Steve! Impressive!
__________________
Cellini 4112. Sub 14060M. DJ 16233.

Foundation Member of 'Horologists Anonymous' "Hi, I'm Rocky, and I'm a Horologist..."
Rock is offline   Reply With Quote
Old 18 June 2017, 06:27 PM   #20
cajunron
2017 Batman Pledge Member
 
cajunron's Avatar
 
Join Date: Nov 2009
Real Name: Ronnie
Location: Southeastern USA
Watch: Omega Seamaster PO
Posts: 3,067
I didn't know you were a computer guru, Steveo! Great job.
__________________
cajunron is offline   Reply With Quote
Old 18 June 2017, 07:42 PM   #21
Lol-x
Facilitator
 
Lol-x's Avatar
 
Join Date: Nov 2005
Real Name: Steve
Location: In transit
Posts: 28,359
Quote:
Originally Posted by cajunron View Post
I didn't know you were a computer guru, Steveo! Great job.
I'm not an expert, but I can do some to get along.
__________________

Most folks are about as happy as they make up their minds to be. ~Abraham Lincoln
Nothing compares to the simple pleasure of a bike ride. ~John F. Kennedy

ROLEXploitation - yeah I'm a victim
Lol-x is offline   Reply With Quote
Old 18 June 2017, 09:44 PM   #22
THC
2017 HULK Pledge Member
 
THC's Avatar
 
Join Date: Jun 2013
Real Name: Tom
Location: Mandeville La
Watch: 116613 Sub
Posts: 5,153
I know it is my old self, but I am still unable to upload any images.. with the above modifications, I was happy again, went to WRUW thread for today and tried, but all are still too big... sigh
THC is offline   Reply With Quote
Old 19 June 2017, 04:35 AM   #23
Welshwatchman
Moderator & 2017 HULK Patron
 
Welshwatchman's Avatar
 
Join Date: Apr 2006
Real Name: Paul Dean
Location: Wales, UK
Posts: 13,918
Well done Stevo.

Full time Barrister, part time Vb coder.
__________________
..33
Welshwatchman is offline   Reply With Quote
Old 19 June 2017, 10:38 AM   #24
Lol-x
Facilitator
 
Lol-x's Avatar
 
Join Date: Nov 2005
Real Name: Steve
Location: In transit
Posts: 28,359
Quote:
Originally Posted by THC View Post
I know it is my old self, but I am still unable to upload any images.. with the above modifications, I was happy again, went to WRUW thread for today and tried, but all are still too big... sigh
Please don't confuse the [IMG] tag (which is what this thread is all about) with the uploading of images to the forum and hosting of images by the forum. The two are very different things.

When you want the forum to host your photos then you will need to ensure your photos conform to size limits. On the other hand if you use the [IMG] tag to embed your photos, you can have whatever size photographs you like.

So if you wish to post 20mb or 5000 pixel wide photographs then use the [IMG] tag and they will automatically be downsized. On the other hand if you want the forum to host your photos reduce the photographs size to 100kb and 1050 pixels wide and then upload and insert it into your post.

The forum just doesn't have the resources or facility to host 20mb photos from everyone as you can well imagine the storage space that would occupy.

At the end of the day you have the choice so you can achieve what you desire.

__________________

Most folks are about as happy as they make up their minds to be. ~Abraham Lincoln
Nothing compares to the simple pleasure of a bike ride. ~John F. Kennedy

ROLEXploitation - yeah I'm a victim
Lol-x is offline   Reply With Quote
Old 19 June 2017, 08:39 PM   #25
Abdullah71601
2017 HULK Pledge Member
 
Abdullah71601's Avatar
 
Join Date: Aug 2014
Location: Arkansas
Watch: ing football
Posts: 9,649
Quote:
Originally Posted by Lol-x View Post
Please don't confuse the [IMG] tag (which is what this thread is all about) with the uploading of images to the forum and hosting of images by the forum. The two are very different things.

When you want the forum to host your photos then you will need to ensure your photos conform to size limits. On the other hand if you use the [IMG] tag to embed your photos, you can have whatever size photographs you like.

So if you wish to post 20mb or 5000 pixel wide photographs then use the [IMG] tag and they will automatically be downsized. On the other hand if you want the forum to host your photos reduce the photographs size to 100kb and 1050 pixels wide and then upload and insert it into your post.

The forum just doesn't have the resources or facility to host 20mb photos from everyone as you can well imagine the storage space that would occupy.

At the end of the day you have the choice so you can achieve what you desire.

Which size triggers the block on the hosted image, kb or pixels? I've been around 750 pixels on the long side and blocked. Should I force both pixels and kb to resize?
__________________
214270, 116400 Black Dial, 16600
Abdullah71601 is offline   Reply With Quote
Old 19 June 2017, 10:31 PM   #26
Lol-x
Facilitator
 
Lol-x's Avatar
 
Join Date: Nov 2005
Real Name: Steve
Location: In transit
Posts: 28,359
Quote:
Originally Posted by Abdullah71601 View Post
Which size triggers the block on the hosted image, kb or pixels? I've been around 750 pixels on the long side and blocked. Should I force both pixels and kb to resize?
In relation to images that you upload to be hosted on this website rather than images that are hosted by another company/provider, the limit is 1100 pixels wide and long or 300kb, so both factors apply. The restriction is on pixels to ensure viewing easy and consistency without having to horizontally scroll, and secondly physical file size because the website's storage resources are finite and photo file sizes these days are huge and totally unnecessary for internet viewing purposes.
__________________

Most folks are about as happy as they make up their minds to be. ~Abraham Lincoln
Nothing compares to the simple pleasure of a bike ride. ~John F. Kennedy

ROLEXploitation - yeah I'm a victim
Lol-x is offline   Reply With Quote
Old 20 June 2017, 03:10 AM   #27
Bisquitlips
2017 Batman Pledge Member
 
Bisquitlips's Avatar
 
Join Date: Sep 2008
Real Name: Richard
Location: USA
Watch: Rolex Deep Space
Posts: 11,949
Finally! Good job Steve!
__________________
Rolex Yacht-Master 40mm (SS-YG / Deep Space MOP) 16623
Breitling Aerospace Titanium / 18K with UTC.
Omega Speedmaster 3510.50

Plan purposefully, prepare prayerfully, proceed positively, pursue persistently.
W.Ward
Bisquitlips is offline   Reply With Quote
Old 20 June 2017, 12:51 PM   #28
Hairdude1
2017 HULK Pledge Member
 
Hairdude1's Avatar
 
Join Date: Apr 2012
Real Name: Alex
Location: Chicago
Watch: AP,PP, Rolex
Posts: 35,223
Thank you Steve!
__________________
Instagram: Hairdude

Watches in Collection 5070R, 26401, 214270 MK1

5711, 116718, 116710LN, 116300, 16710"Coke", 372, 15300, 15703 (All Flipped)

Official Member "Perpetual 30" Las Vegas GTG 2016
Official Member "WIS-CON" Las Vegas International GTG 2017
Officially Registered: 'WIS-CON' Las Vegas Int'l GTG 2018
Hairdude1 is offline   Reply With Quote
Old 21 June 2017, 10:43 AM   #29
descartes
"TRF" Member
 
descartes's Avatar
 
Join Date: Sep 2012
Location: North Shore
Posts: 832
For some reason I am no longer able to upload photos from my iPhone. Everytime it is rejected a too large. Any way to address this?
__________________
I have a weakness for Travel Watches, Platinum, Vintage Rolex and 1960s Divers
descartes is offline   Reply With Quote
Old 21 June 2017, 10:48 AM   #30
Numismatist
2017 Batman Pledge Member
 
Numismatist's Avatar
 
Join Date: Nov 2007
Real Name: Chris
Location: Camden ME & STT
Watch: 116600
Posts: 6,374
Great idea, doesn't seem to work from my iPad though.
__________________
Rolex 116600 Sea-dweller
Montblanc Solitaire Doué Black & White Legrand FP
Montblanc Solitaire Doué Black & White RB
Montblanc Meisterstück Diamond Mozart BP
Montblanc Meisterstück Mozart BP
Numismatist is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Banner Of The Month
*Banner Of The Month*
This space is provided to horological resources.





Copyright ©2004-2017, The Rolex Forums. All Rights Reserved.

ROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEXROLEX

Rolex is a registered trademark of ROLEX USA. The Rolex Forums is not affiliated with ROLEX USA in any way.