Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Forum FAQ and Information Forum Talk 
Thread started 08 Jan 2004 (Thursday) 19:22
Search threadPrev/next
POLL: "Is this solution ok?"
Excellent, well done!
42
66.7%
It's ok, I can live with it
8
12.7%
I have no opinion, do as you please
5
7.9%
I hate it, give me full freedom to post any size I want
8
12.7%

63 voters, 63 votes given (1 choice only choices can be voted per member)). VOTING IS FOR MEMBERS ONLY.
BROWSE ALL POLLS
sponsored links (only for non-logged)

New image size code in place

 
Pekka
El General Moderator
Avatar
18,384 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2442
Joined Mar 2001
Location: Hellsinki, Finland
     
Jan 08, 2004 19:22 |  #1

I did some serious hacking into phpbb (which is btw programmed in very unopen 70's manner :evil: )

Ok, now the image thing goes like this:

  • If your image goes wider or higher than 800 pixels, it is reduced to 800 high or wide. Link to original is provided.
  • If your image is smaller than 800, or exactly 800, it is untouched. Mouseover shows image URL.
  • If image size of your post can not be retrieved, size is fixed to 500 wide. Link to original is provided.


This police change applies immediately to all images posted on this forum.

THIS WILL SLOW DOWN POSTS CONTAINING IMAGES. How much depends solely on servers the images are coming from.

Under each image there small info text what was done by the forum. I also changed some table code that excessive wide posts do not widen the whole page.

Image sizing means image DISPLAY is forced to certain size, it does NOT mean image is resampled.

DISCLAIMER: IF THIS FEATURE PROVES TO BE EXCESSIVE STRESS TO THIS SERVER IT WILL BE REMOVED.

The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
timmyquest
Goldmember
4,172 posts
Joined Dec 2003
Location: Outside of Chicago
     
Jan 08, 2004 20:50 |  #2
bannedPermanent ban

Perfect, i think that a picture does not need to be much bigger then 800 pixles anyways


Capturing life a fraction of a second at a time

  
  LOG IN TO REPLY
msvadi
Goldmember
1,974 posts
Joined Jul 2003
     
Jan 08, 2004 21:39 |  #3

Excellent!




  
  LOG IN TO REPLY
CyberDyneSystems
Admin (type T-2000)
Avatar
52,911 posts
Gallery: 193 photos
Likes: 10102
Joined Apr 2003
Location: Rhode Island USA
     
Jan 08, 2004 21:43 |  #4

That sounds like a brilliant plan! 8)


GEAR LIST
CDS' HOT LINKS
Jake Hegnauer Photography (external link)

  
  LOG IN TO REPLY
Ikinaa
Goldmember
Avatar
1,517 posts
Likes: 1
Joined Jul 2003
Location: Luxembourg
     
Jan 09, 2004 02:22 |  #5

Hi Pekka,

let's see if I get it right...
Your server retrieves info about the picture from the server where it's located but not the picture itself.
So you see if the picture is bigger than allowed and then the picture is resized (by the browser, style attribute 'small' if i'm correct)
The picture isn't resampled, because you don't retrieve it.
The client retrieves the whole picture (even if it's 3 MB in size), resizes it for viewing with a link to view it in a whole.

If it's so, I don't see the sense of it...
The loading time won't reduce but increase because of the processing you do, the user will have to click twice to see the picture in original
So what's the gain?

PS : correct me if I'm wrong...


www.ikinaa.net (external link)

  
  LOG IN TO REPLY
slejhamer
Goldmember
Avatar
1,758 posts
Likes: 1
Joined Jun 2002
     
Jan 09, 2004 04:28 |  #6

Don't care much about the image size.

Hate the side effect. :cry:

But I guess if people want to display more than one pic in a thread, they can do it in multiple posts rather than all at once. A minor inconvenience.


Mitch

  
  LOG IN TO REPLY
Pekka
THREAD ­ STARTER
El General Moderator
Avatar
18,384 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2442
Joined Mar 2001
Location: Hellsinki, Finland
     
Jan 09, 2004 05:48 |  #7

Ikinaa wrote:
Hi Pekka,

let's see if I get it right...
Your server retrieves info about the picture from the server where it's located but not the picture itself.
So you see if the picture is bigger than allowed and then the picture is resized (by the browser, style attribute 'small' if i'm correct)
The picture isn't resampled, because you don't retrieve it.
The client retrieves the whole picture (even if it's 3 MB in size), resizes it for viewing with a link to view it in a whole.

If it's so, I don't see the sense of it...
The loading time won't reduce but increase because of the processing you do, the user will have to click twice to see the picture in original
So what's the gain?

PS : correct me if I'm wrong...

To download it to my server and actually resize it is also quite possible to do, but the point is not to limit image size in kilobytes. The point is that it is nearly impossible to read messages and actually view (on most common monitor sizes) images when you get six 3000 pixels wide images on one message - even if browsers claim to do image scaling they do not do it when image is inside a table.

Posters should take care that images are sensible in download size.


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
Pekka
THREAD ­ STARTER
El General Moderator
Avatar
18,384 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2442
Joined Mar 2001
Location: Hellsinki, Finland
     
Jan 09, 2004 06:41 |  #8

slejhamer wrote:
Don't care much about the image size.

Hate the side effect. :cry:

But I guess if people want to display more than one pic in a thread, they can do it in multiple posts rather than all at once. A minor inconvenience.

Side effect is now fixed. All images are displayed.


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
sdommin
Goldmember
Avatar
1,206 posts
Likes: 2
Joined Dec 2002
Location: New Hampshire
     
Jan 09, 2004 07:48 |  #9

Perfect!!

Excellent job, Pekka. Thanks for your hard work.


Scott
http://www.pbase.com/s​dommin/favorites (external link)

  
  LOG IN TO REPLY
slejhamer
Goldmember
Avatar
1,758 posts
Likes: 1
Joined Jun 2002
     
Jan 09, 2004 08:36 |  #10

Pekka wrote:
Side effect is now fixed. All images are displayed.

Excellent, thanks Pekka! Good work! :D


Mitch

  
  LOG IN TO REPLY
Anonymous
Member
63 posts
Joined Jan 2004
     
Jan 09, 2004 14:55 |  #11

IMAGE NOT FOUND
Byte size: ZERO | Content warning: NOT AN IMAGE


JUST SAYING THANK YOU PEKKA
:)

MARIE

:oops: :)



  
  LOG IN TO REPLY
Vegas ­ Poboy
Senior Member
Avatar
950 posts
Likes: 1
Joined Aug 2003
Location: Las Vegas, NV
     
Feb 16, 2004 22:21 |  #12

Thanks for your dedication & hard work. :D :D :D


$$$ in Canon Gear & Lighting Equipment

  
  LOG IN TO REPLY
manncer
Member
109 posts
Joined Feb 2004
     
Mar 08, 2004 23:58 |  #13

:roll:

Wow! Fantastic...

manncer




  
  LOG IN TO REPLY
timmyquest
Goldmember
4,172 posts
Joined Dec 2003
Location: Outside of Chicago
     
Mar 09, 2004 00:13 |  #14
bannedPermanent ban

Pekka wrote:
Ikinaa wrote:
Hi Pekka,

let's see if I get it right...
Your server retrieves info about the picture from the server where it's located but not the picture itself.
So you see if the picture is bigger than allowed and then the picture is resized (by the browser, style attribute 'small' if i'm correct)
The picture isn't resampled, because you don't retrieve it.
The client retrieves the whole picture (even if it's 3 MB in size), resizes it for viewing with a link to view it in a whole.

If it's so, I don't see the sense of it...
The loading time won't reduce but increase because of the processing you do, the user will have to click twice to see the picture in original
So what's the gain?

PS : correct me if I'm wrong...

To download it to my server and actually resize it is also quite possible to do, but the point is not to limit image size in kilobytes. The point is that it is nearly impossible to read messages and actually view (on most common monitor sizes) images when you get six 3000 pixels wide images on one message - even if browsers claim to do image scaling they do not do it when image is inside a table.

Posters should take care that images are sensible in download size.

I didnt read this thread since my original post. With what you say here in mind. There is a hack out there for phpbb forums that fixes this problem. Let me get you an example.

http://www.sttr2.com …ewtopic.php?p=7​7978#77978 (external link)

If you want i'll ask my friend (who runs that board) where she got it.


Capturing life a fraction of a second at a time

  
  LOG IN TO REPLY
angst911
Junior Member
22 posts
Joined May 2004
     
May 06, 2004 20:20 |  #15

now just publish the code........




  
  LOG IN TO REPLY
sponsored links (only for non-logged)

9,309 views & 1 like for this thread, 13 members have posted to it.
New image size code in place
FORUMS Forum FAQ and Information Forum Talk 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is Marcsaa
1223 guests, 125 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.