Iron Edge

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 


* *

Apply to Iron Edge

Apply to the ToT Raid
Currently full
Apply to the Main Raid
Recruiting!
Apply for the Weekend Raid
Recruiting!
Apply as a Social member
All are welcome to apply
 Auto resize images



0 Members and 2 Guests are viewing this topic.

May 09, 2010, 05:01:35 pm
Read 15219 times

Offline Devlin

  • Guild Member
  • *

  • 1,424
    Posts

  • Not a hobo

Auto resize images
« on: May 09, 2010, 05:01:35 pm »
I was wondering if it's possible to add a function that automatically resizes images that are bigger than x (width) pixels? I've seen it on a lot of different forums. Here for example:
http://elitistjerks.com/f78/t51063-rogue_ui_your_silent_partner/p20/#post1568200

At the moment I am resizing them manually ([ img width=500] and adding a [ url] tag), but this function would save some trouble, and make the site smoother overall.

I've been looking for that function in particular, but haven't been able to find it.

No more sidescrolling pictures please!

May 09, 2010, 06:13:21 pm
Reply #1

Offline Skymunken

  • Guild Member
  • *

  • 966
    Posts

Re: Auto resize images
« Reply #1 on: May 09, 2010, 06:13:21 pm »
We need a wider forum!
[21:03] <Globox> how mad are you on a scale from 1 to Idra Skymunken?

May 09, 2010, 07:25:45 pm
Reply #2

kawe

  • Guest
Re: Auto resize images
« Reply #2 on: May 09, 2010, 07:25:45 pm »
I just right click and 'View Picture'

May 09, 2010, 08:55:58 pm
Reply #3

Offline Daekesh

  • Guild Member
  • *

  • 4,850
    Posts

Re: Auto resize images
« Reply #3 on: May 09, 2010, 08:55:58 pm »
The css property max-width should do.
« Last Edit: May 09, 2010, 08:59:03 pm by TTaM »
Moo

Itkovian
Daekesh
Caladan
Hetan


May 09, 2010, 09:43:45 pm
Reply #4

Offline delling

  • Guild Member
  • *

  • 8,928
    Posts

    • Homepage
Re: Auto resize images
« Reply #4 on: May 09, 2010, 09:43:45 pm »
Yar, you want thumbnails generated on the server... and click for full-size...

I hate side-scrolling shit too.

Will investigate.
Now I run a tech website.

May 09, 2010, 09:58:45 pm
Reply #5

Offline delling

  • Guild Member
  • *

  • 8,928
    Posts

    • Homepage
Re: Auto resize images
« Reply #5 on: May 09, 2010, 09:58:45 pm »
This is an oversized screenshot.

« Last Edit: May 09, 2010, 10:00:26 pm by delling »
Now I run a tech website.

May 09, 2010, 10:05:00 pm
Reply #6

Offline delling

  • Guild Member
  • *

  • 8,928
    Posts

    • Homepage
Re: Auto resize images
« Reply #6 on: May 09, 2010, 10:05:00 pm »
And another.


Now I run a tech website.

May 09, 2010, 10:07:44 pm
Reply #7

Offline delling

  • Guild Member
  • *

  • 8,928
    Posts

    • Homepage
Re: Auto resize images
« Reply #7 on: May 09, 2010, 10:07:44 pm »
One more.

Now I run a tech website.

May 09, 2010, 10:08:24 pm
Reply #8

Offline delling

  • Guild Member
  • *

  • 8,928
    Posts

    • Homepage
Re: Auto resize images
« Reply #8 on: May 09, 2010, 10:08:24 pm »
Hm... it's working. But the bar above -- 'click to show full-size' -- isn't appearing. Not sure why.

You can right click image -> view/copy source tho'.
Now I run a tech website.

May 10, 2010, 12:21:48 am
Reply #9

Offline Palmar

  • Guild Member
  • *

  • 1,730
    Posts

Re: Auto resize images
« Reply #9 on: May 10, 2010, 12:21:48 am »
The author could always make the image a direct link to the image location if he's bothered about people seeing it in high res. I vote for this change.
Trolls are awesome!

May 10, 2010, 01:34:24 am
Reply #10

Offline Aleandro

  • Guild Member
  • *

  • 220
    Posts

  • Sneaky as we are!

Re: Auto resize images
« Reply #10 on: May 10, 2010, 01:34:24 am »
Beautiful, and picture and idea !

May 10, 2010, 01:44:51 pm
Reply #11

Offline Devlin

  • Guild Member
  • *

  • 1,424
    Posts

  • Not a hobo

Re: Auto resize images
« Reply #11 on: May 10, 2010, 01:44:51 pm »
Testing Earthquake's pic



SWEET! But would be nice to have option to show fullsize without having to open it in a new tab/window. Surely that "click here for full size"-bar is a well-known script/function, as I see it pretty much everywhere. I think dunemaul.org had it as well.

Edit: Another one




Edit 2: Is it possible that, if we find and implement that "click here for full size"-bar, that the forum's own width is increased to compensate for the increased image width? So that sidescrolling won't be needed inside the particular post, but rather the whole browser window instead? Hope you understand what I mean.
« Last Edit: May 10, 2010, 01:53:57 pm by Devlin »

May 10, 2010, 02:17:02 pm
Reply #12

Offline delling

  • Guild Member
  • *

  • 8,928
    Posts

    • Homepage
Re: Auto resize images
« Reply #12 on: May 10, 2010, 02:17:02 pm »
CBA
Now I run a tech website.

May 10, 2010, 03:10:47 pm
Reply #13

Offline Daekesh

  • Guild Member
  • *

  • 4,850
    Posts

Re: Auto resize images
« Reply #13 on: May 10, 2010, 03:10:47 pm »
Any chance u can make that happen with picture attachments, too? :)
Moo

Itkovian
Daekesh
Caladan
Hetan


May 10, 2010, 04:01:20 pm
Reply #14

Offline delling

  • Guild Member
  • *

  • 8,928
    Posts

    • Homepage
Re: Auto resize images
« Reply #14 on: May 10, 2010, 04:01:20 pm »
Better if you just click the text link in that case -- think it opens in a new tab.
Now I run a tech website.

 

Iron Edge Discord

Recent

Recent Logs

Welcome, Guest. Please login or register.
Did you miss your activation email?
November 24, 2024, 02:06:43 am

Login with username, password and session length

304 Guests, 0 Users