Online since 2002. Over 3300 puzzles, 2600 worldwide members, and 270,000 messages.

TwistyPuzzles.com Forum

It is currently Wed Jul 23, 2014 12:49 am

All times are UTC - 5 hours



Post new topic Reply to topic  [ 36 posts ] 
Author Message
 Post subject: Automatic resizing of photos
PostPosted: Thu Feb 05, 2009 1:23 pm 
Offline

Joined: Sun Mar 27, 2005 7:37 pm
I understand it is possible to automatically resize photos on forums like these. This is where someone embeds a link to a picture which is over a certain size and the 'forum' automatically resizes it so it doesn't stretch the page in an ugly manner. I think this would be useful for people who forget to resize or who don't know how to.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Thu Feb 05, 2009 1:57 pm 
Offline
User avatar

Joined: Sun Apr 06, 2008 6:43 pm
Location: right here
like 3000-pixel-wide out of focus photos? :)

I agree, this is a needed feature.


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Thu Feb 05, 2009 5:52 pm 
Offline
User avatar

Joined: Mon Jun 23, 2008 6:40 pm
Location: Tennessee
This would be a very good idea to make a reality. :D

_________________
92% of teens would be dead if Abercrombie & Fitch said it wasn't cool to breathe.
Put this in your signature if you are the 8% who would be laughing.

Personal Bests -single(avg of 12)
3x3-22.21(27.09)
4x4-1:28.18(1:53.49)
5x5-3:23.99(3:55.61)


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Sun Feb 08, 2009 12:23 pm 
Offline

Joined: Sun Mar 27, 2005 7:37 pm
I should also add that where I have seen it you can then click on the photo to get the full size version.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 16, 2009 1:26 pm 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
Testing...

Sandy


Attachments:
800x600.jpg
800x600.jpg [ 87.15 KiB | Viewed 4727 times ]
600x600.jpg
600x600.jpg [ 47.1 KiB | Viewed 4717 times ]
585x480.jpg
585x480.jpg [ 63.09 KiB | Viewed 5805 times ]
Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 16, 2009 1:31 pm 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
Testing 2...

Sandy


Attachments:
1800x1350.jpg
1800x1350.jpg [ 423.69 KiB | Viewed 4716 times ]
Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 16, 2009 1:36 pm 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
Another test.


Attachments:
585x480.jpg
585x480.jpg [ 63.09 KiB | Viewed 4713 times ]
Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 16, 2009 1:37 pm 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
Hopefully the final test of attaching images...

Placed
Attachment:
1800x1350.jpg
1800x1350.jpg [ 423.69 KiB | Viewed 4713 times ]
inline.

Sandy


Attachments:
585x480.jpg
585x480.jpg [ 63.09 KiB | Viewed 4714 times ]
Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 16, 2009 1:40 pm 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
Linking to images:

Small:
Image

Large:


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 16, 2009 2:31 pm 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
So, I've tweaked the settings a little (threads like this one would have been prevented), but it seems that as long as we allow the IMG tag, messages can still stretch the forum (as seen above). Personally, I like the idea of getting rid of the IMG tag. If all images were uploaded to TwistyPuzzles.com as message attachments, we wouldn't get any NEW stretching (the old ones remain unchanged), and we'd stop getting the situation where the images basically ARE the message but since the images are long gone from where ever they were hosted, the thread is now useless.

Sandy


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Tue Mar 17, 2009 10:21 pm 
Offline
User avatar

Joined: Thu Jul 17, 2008 1:58 pm
Location: Wyoming - USA
Photobucket has an automatic resizer when you upload. It is very handy. It can reduce to a variety of sizes. From 1024x768 to 100x75.

I use the "Medium" setting, which is 320x240, which looks something like....

Image
or
Image

as opposed to:
Image
or
Image

It seems that if people used a tool like this, the problem would be solved. It takes NO time to auto resize once you have the setting applied.

_________________
No thanks
Sugar Gliders.

Cap-hits, not Cafits


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Wed Mar 18, 2009 9:13 am 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
It seems I haven't been clear enough.

When you attach images to your message (using the "Upload attachments" section of the message posting form), large images are resized nicely, viewers can click to see the full size version, and everything works out fine. You have the option of simply attaching the images (in which case they will appear at the bottom of your message), or you can "inline" them using the [ attachment ] BBCode after you upload it to get them to appear within the body of your message. (See my message "Hopefully the final test of attaching images" above for examples of both.)

However, if you chose to use the [ IMG ] BBCode, you can stick in the URL to whatever image you want. The image is not hosted on this server, so it isn't being stored and resized for display. (See my message "Linking to images" above for examples.)

Getting rid of the [ IMG ] BBCode tag solves this problem. People wanting to post images that are hosted elsewhere will have to download them to their computer first, then upload them to this forum as message attachments (and include a photo credit?). Which is basically what Photobucket is doing, for example.

Thoughts?

Sandy


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Wed Mar 18, 2009 9:19 am 
Offline

Joined: Mon Jan 05, 2009 9:05 pm
Location: Fort Meade, MD
Uploading to the site is the solution, but I wouldn't want to lose my {img} ability because some people can't re-size their photos.

_________________
you know you missed me.


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Wed Mar 18, 2009 9:32 am 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
Hmmm. Let me try again.

Image Attachments:
- required for posting images that are not yet on the internet
- less convenient for posting images from other websites (requires downloading to your computer, then uploading to TwistyPuzzles)
- automagically resizes if required, shows a thumbnail which can be clicked to view the fullsize version
- saves the image on the server for all time
- can be placed "inline" (within the body of your message), or simply left at the end of the message

[ IMG ] BBCode:
- can be used to easily post images that are already somewhere on the internet
- cannot be resized: a wide image will mis-shape the forum design as seen above
- not copied to TwistyPuzzles.com, image may become unavailable at some future point
- can be placed inline

Sandy


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Wed Mar 18, 2009 10:04 am 
Offline
User avatar

Joined: Sat Jan 27, 2007 7:43 pm
Location: Shelby Township, MI. USA
I prefer if people upload their photos intead of linking to offsite ones because I often read this site from work. Many photo hosting sites such as photobucket are blocked for me so I can't currently see Caphits' photos. I never really understoon why people use photobucket instead of uploading pictures directly here. I made a post in the new puzzles section two days ago with some attached photos that I uploaded and the resizing worked wonderfully.


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Wed Mar 18, 2009 12:57 pm 
Offline
User avatar

Joined: Fri Nov 04, 2005 12:31 am
Location: Greece, Australia, Thailand, India, Singapore.
In the past, it was very easy to adjust almost everything by using the html code.
Is there any chance of doing so in the future. or at least something similar?

:)


Pantazis

_________________

Educational R&D, Gravity, 4D Symmetry, Puzzle Ninja, Matrix Mech, Alien Technology.


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Wed Mar 18, 2009 3:25 pm 
Offline
User avatar

Joined: Thu Jul 17, 2008 1:58 pm
Location: Wyoming - USA
I dont know why, but it just seems really inconvenient for me to upload a pic to the forum, even though it really IS easy.

Also, I think it is very convienient to be able to just copy the link to a pic, and just repost that link here, which uses [img] tags.

_________________
No thanks
Sugar Gliders.

Cap-hits, not Cafits


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Sat Mar 21, 2009 9:09 am 
Offline
User avatar

Joined: Sun Apr 16, 2000 3:17 pm
Location: Hong Kong
This is another of my daft questions, but how do you post an image to the forum if you don't use the IMG button?
I can't move any of "measurements" pictures because if I do they will be gone forever.

And another one, As I'm typing this, I notice that there is a huge amount of space to the right.
I have hit the enter key at the end of each line so this doesn't have to be scrolled over to read.
I really hate having to do that.

_________________
Rox's Rambling Blog
Katsmom's Puzzling Videos


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Sat Mar 21, 2009 10:51 am 
Offline

Joined: Mon Jan 05, 2009 9:05 pm
Location: Fort Meade, MD
katsmom wrote:
This is another of my daft questions, but how do you post an image to the forum if you don't use the IMG button?
I can't move any of "measurements" pictures because if I do they will be gone forever.

you type (without any spaces) [ i m g ] your host url here [ / i m g ]

katsmom wrote:
And another one, As I'm typing this, I notice that there is a huge amount of space to the right.
I have hit the enter key at the end of each line so this doesn't have to be scrolled over to read.
I really hate having to do that.


Thats why large pictures annoy so many people.

_________________
you know you missed me.


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Sun Mar 22, 2009 8:42 pm 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
katsmom wrote:
This is another of my daft questions, but how do you post an image to the forum if you don't use the IMG button?
I can't move any of "measurements" pictures because if I do they will be gone forever.


First, you attach the image using the "Upload attachment" section of the "post a new message" form. Click browse to select the file from your local computer (if it's an online picture, you'd have to download it first), then click "Add the file". Now the image will be displayed as an attachment at the bottom of your message. It is saved on TwistyPuzzles, so the image will always remain with the message. Also, once you've attached an image to your message in this way, look directly beneath the textbox where you type your message for a new dropdown called "Place inline". Select the picture in the dropdown, put the cursor where you want the picture to go, then click "Place inline". Using this feature, you move the picture from the bottom of your post to whereever you choose in your post.

katsmom wrote:
And another one, As I'm typing this, I notice that there is a huge amount of space to the right.
I have hit the enter key at the end of each line so this doesn't have to be scrolled over to read.
I really hate having to do that.


That's exactly what we're trying to fix here! This thread was purposely made "wide" as an example of what we're attempting to fix. If we get rid of the [IMG] tag, it won't be just getting rid of the button, it'll be getting rid of the IMG bbcode functionality. Doing this means people can only ever ATTACH images (as described above), and that the forum will never get misshapen like this thread has been, requiring all the scrolling back and forth just to read the text.

Sandy


Attachments:
00003-02.jpg
00003-02.jpg [ 27.72 KiB | Viewed 5409 times ]
Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Sun Mar 22, 2009 10:05 pm 
Offline
User avatar

Joined: Fri Feb 06, 2009 2:57 pm
Location: Pittsburgh
...

This is just a wallpaper from a windows xp theme I downloaded, but it won't stretch the page.

Attachment:
wazoo5_wp1024.jpg
wazoo5_wp1024.jpg [ 42.39 KiB | Viewed 4715 times ]


And there are other colors, too!

Attachment:
wazoo2_wp1024.jpg
wazoo2_wp1024.jpg [ 55.98 KiB | Viewed 4707 times ]

Attachment:
wazoo3_wp1024.jpg
wazoo3_wp1024.jpg [ 57.15 KiB | Viewed 4707 times ]

Attachment:
wazoo4_wp1024.jpg
wazoo4_wp1024.jpg [ 57.38 KiB | Viewed 4712 times ]


Just, imagine this was about a new cube mod with multiple angle shots.

_________________
3x3x3 PB: 00:48.10
"Study gravitation, it's a field with a lot of potential."
Image


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 23, 2009 6:19 am 
Offline

Joined: Sun Dec 07, 2008 4:28 pm
Location: Utrecht, The Netherlands
Would it be possible to add a feature to the upload image attachment part, where you can just put in a URL to the image, if it's an image that happens to be on a webserver rather than your hard drive? After all, we gotta move with the times -- local storage is going out of fashion.


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 23, 2009 2:23 pm 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
I've added the new custom BBCode: ImgPix. It's the same as the old Img tag (which also still exists), but you can now specify the width in pixels. This will make it very easy for a user or a mod to edit offending IMG tags to resize an image that is too big for the forum.

I took one of the larger images above and posted it using the new [imgpix] tag with various specified widths. This code:

Code:
[imgpix width=25]http://upload.wikimedia.org/wikipedia/commons/0/0d/Cubo_rubik_1.jpg[/imgpix]
[imgpix width=50]http://upload.wikimedia.org/wikipedia/commons/0/0d/Cubo_rubik_1.jpg[/imgpix]
[imgpix width=100]http://upload.wikimedia.org/wikipedia/commons/0/0d/Cubo_rubik_1.jpg[/imgpix]
[imgpix width=200]http://upload.wikimedia.org/wikipedia/commons/0/0d/Cubo_rubik_1.jpg[/imgpix]
[imgpix width=400]http://upload.wikimedia.org/wikipedia/commons/0/0d/Cubo_rubik_1.jpg[/imgpix]


Displays this:







Sandy


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 23, 2009 4:17 pm 
Offline
User avatar

Joined: Thu Jan 24, 2002 1:10 am
Location: Toronto, Canada
Okay, solved. See here.

I'm going to fix up those images using the ImgPix BBCode now so this thread isn't so broken!

Sandy


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 23, 2009 5:48 pm 
Offline

Joined: Mon Aug 18, 2008 10:16 pm
Location: Somewhere Else
Cool, now I can do crazy stuff like this!



Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 23, 2009 9:03 pm 
Offline
User avatar

Joined: Mon Jun 23, 2008 6:40 pm
Location: Tennessee
Jared wrote:
Cool, now I can do crazy stuff like this!



_________________
92% of teens would be dead if Abercrombie & Fitch said it wasn't cool to breathe.
Put this in your signature if you are the 8% who would be laughing.

Personal Bests -single(avg of 12)
3x3-22.21(27.09)
4x4-1:28.18(1:53.49)
5x5-3:23.99(3:55.61)


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Mon Mar 23, 2009 10:18 pm 
Offline
User avatar

Joined: Fri Feb 06, 2009 2:57 pm
Location: Pittsburgh



_________________
3x3x3 PB: 00:48.10
"Study gravitation, it's a field with a lot of potential."
Image


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Tue Mar 24, 2009 5:19 am 
Offline
User avatar

Joined: Fri May 06, 2005 10:13 am
Location: Norway
Hi :-)

There's another point not mentioned (i guess - i been skimming this). Why not have an option where pictures uploaded directly to this site will be resized to fit the normal thread page width (if too big). This would save some storage space as well as making slightly faster rendering of the pages. My main concern was to minimize the storage space of pictures though :P

Per

_________________
"Life is what happens to you while you are busy making other plans" -John Lennon, Beautiful Boy


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Tue Mar 24, 2009 12:37 pm 
Offline
User avatar

Joined: Fri Feb 06, 2009 2:57 pm
Location: Pittsburgh
I like that they get thumbnailed a bit and you can still choose to see a larger image. As an example, here is a 3000x200 pixel image of, well, nothing really, but it'll get thumbnailed and can get expanded in a new window/tab.
Attachment:
lorumipsum.png
lorumipsum.png [ 56.48 KiB | Viewed 4735 times ]


Lorum ipsum is pretty cool.

_________________
3x3x3 PB: 00:48.10
"Study gravitation, it's a field with a lot of potential."
Image


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Wed Mar 25, 2009 1:40 am 
Offline
User avatar

Joined: Fri Feb 08, 2008 1:47 am
Location: near Utrecht, Netherlands
The new IMGPIX code is really nice, but people are already using it in the wrong way! Check out this topic. You can see how they used the IMGPIX code to make thumbnails for their odd 20+ 2000x2000 pixel images. This took me ages to load (and made my computer really, really slow).

Sandy, you know that resizing images on the client side is bad and what advantages resizing images for real has. After seeing what this guy did I'd rather just get rid of the IMGPIX because this is ridiculous. Or at least limit the amount of times it can be used in a single post.

If you are going to post a load of very large pictures, you need to make real thumbnails and not use HTML to do that. Remember, there are people still on dail up on this forum. I'm not and it even took me ages to load it. And think of all the people with a pay per kilobit mobile thingy.

_________________
Tom's Shapeways Puzzle Shop - your order from my shop includes free stickers!
Tom's Puzzle Website


Buy my mass produced puzzles at Mefferts:
- 4x4x6 Cuboid for just $38
- Curvy Copter for just $18
- 3x4x5 Cuboid for just $34


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Wed Mar 25, 2009 2:53 am 
Offline
User avatar

Joined: Fri Feb 06, 2009 2:57 pm
Location: Pittsburgh
:( I'm already a terrible forum member.

I went and changed that. I wasn't hip to how the imgpix worked exactly before, but I understand it better now.

_________________
3x3x3 PB: 00:48.10
"Study gravitation, it's a field with a lot of potential."
Image


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Wed Mar 25, 2009 9:39 am 
Offline
User avatar

Joined: Sun Apr 06, 2008 6:43 pm
Location: right here
This is a great feature. There should be something like this forced on people who use signatures that take up half the screen. :)


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Wed Mar 25, 2009 9:53 am 
Offline
User avatar

Joined: Fri Feb 08, 2008 1:47 am
Location: near Utrecht, Netherlands
theVDude wrote:
:( I'm already a terrible forum member. I went and changed that. I wasn't hip to how the imgpix worked exactly before, but I understand it better now.


Don't feel sorry. It was a rant towards the feature being there, you were just an example of how it could trigger 'misuse'.

_________________
Tom's Shapeways Puzzle Shop - your order from my shop includes free stickers!
Tom's Puzzle Website


Buy my mass produced puzzles at Mefferts:
- 4x4x6 Cuboid for just $38
- Curvy Copter for just $18
- 3x4x5 Cuboid for just $34


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Thu Mar 26, 2009 4:34 pm 
Offline

Joined: Sun Dec 07, 2008 4:28 pm
Location: Utrecht, The Netherlands
On a topic not unrelated to this thread, I wanted to try putting in photos direct from Flickr, but Flickr stipulates that pictures on other websites should link back to Flickr itself, ie (the equivalent of)

Code:
<a href="http://www.flickr.com/photos/corruptedjasper/3386299332/" title="Supercube stickers by Jasper Janssen, on Flickr"><img src= " http://farm4.static.flickr.com /3644/3386299332_ffebceb43c_m.jpg" width="240" height="180" alt="Supercube stickers" /></a>
, or in BBCode terms
Code:
[b]Supercube stickers[/b]

[url=http://www.flickr.com/photos/corruptedjasper/3386299332/]
[img]http://farm4.static.flickr.com/3644/3386299332_ffebceb43c_m.jpg[/img]
[/url]

However, that results in:

Supercube stickers

[url=http://www.flickr.com/photos/corruptedjasper/3386299332/]
Image
[/url]

In other words, [url] doesn't work when it's around [img]. This may be something common to phpBB or it may be that something broke in your mods to [img]. Either way, could you look into this and see if there's an easy way to fix it? If not, I guess I'll be sticking to photobucket (or violating Flickr's terms of use).


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Thu Mar 26, 2009 5:12 pm 
Offline
User avatar

Joined: Fri Feb 06, 2009 2:57 pm
Location: Pittsburgh
That's weird, because it worked fine for me here:http://twistypuzzles.com/forum/viewtopic.php?f=14&t=12998

It's from the line break before the img tag. Just do it all on one line.

Code:
[url=http://www.google.com][img]http://farm4.static.flickr.com/3644/3386299332_ffebceb43c_m.jpg[/img][/url]

[url=http://www.google.com][img]http://img46.exs.cx/img46/4271/alligator_walking2.gif[/img][/url]


Image

Image

Code:
[url=http://www.google.com]
[img]http://farm4.static.flickr.com/3644/3386299332_ffebceb43c_m.jpg[/img]
[/url]

[url=http://www.google.com]
[img]http://img46.exs.cx/img46/4271/alligator_walking2.gif[/img]
[/url]


[url=http://www.google.com]
Image
[/url]

[url=http://www.google.com]
Image
[/url]

_________________
3x3x3 PB: 00:48.10
"Study gravitation, it's a field with a lot of potential."
Image


Top
 Profile  
 
 Post subject: Re: Automatic resizing of photos
PostPosted: Thu Mar 26, 2009 5:38 pm 
Offline

Joined: Sun Dec 07, 2008 4:28 pm
Location: Utrecht, The Netherlands
Without line breaks:
JasperJ wrote:
Image


Well, hot diggety. That does indeed work. I was wondering what the heck I was missing.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Forum powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group