Understanding through Discussion


Welcome! You are not logged in. [ Login ]
EvC Forum active members: 78 (8896 total)
Current session began: 
Page Loaded: 03-23-2019 8:30 PM
42 online now:
14174dm, Minnemooseus (Adminnemooseus), Tanypteryx (3 members, 39 visitors)
Chatting now:  Chat room empty
Newest Member: WookieeB
Post Volume:
Total: 848,599 Year: 3,636/19,786 Month: 631/1,087 Week: 221/212 Day: 36/27 Hour: 0/1


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
Prev1
2
Author Topic:   image issues
Panda
Member (Idle past 1791 days)
Posts: 2688
From: UK
Joined: 10-04-2010


Message 16 of 20 (631387)
08-31-2011 8:21 PM
Reply to: Message 15 by Admin
08-31-2011 7:42 PM


Re: picture problem
Admin writes:

I didn't realize it was changing the aspect ratio that you were interested in. It would be easy to do option 2, but why? Is there any demand?


TBH: I have no idea about the demand, only that it is available on other BB's.

As to the exact implementation, I would suggest that it expands to its actual size and ratio.
But that is an educated guess based on my experience as a developer, but that experience does not exactly translate into how BB images should work.

Maybe CS has some input...


Always remember: QUIDQUID LATINE DICTUM SIT ALTUM VIDITUR

Science flies you into space; religion flies you into buildings.


This message is a reply to:
 Message 15 by Admin, posted 08-31-2011 7:42 PM Admin has responded

Replies to this message:
 Message 17 by Admin, posted 09-02-2011 8:05 AM Panda has acknowledged this reply

  
Admin
Director
Posts: 12579
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.9


Message 17 of 20 (631646)
09-02-2011 8:05 AM
Reply to: Message 16 by Panda
08-31-2011 8:21 PM


Re: picture problem
I implemented this a couple days ago and was waiting to see if CS would chime in. I decided that maintaining aspect ratio was the correct action when changing image size. It'll become available the next time I post an update.

--Percy
EvC Forum Director

This message is a reply to:
 Message 16 by Panda, posted 08-31-2011 8:21 PM Panda has acknowledged this reply

Replies to this message:
 Message 18 by New Cat's Eye, posted 09-02-2011 10:03 AM Admin has responded

    
New Cat's Eye
Inactive Member


Message 18 of 20 (631663)
09-02-2011 10:03 AM
Reply to: Message 17 by Admin
09-02-2011 8:05 AM


Re: picture problem
I think the aspect ratio should stay the same. If I could just put in one number for the width, like it already does now and keeps the same aspect ratio, but then could also put in a comma and add "left" to align it to the left, then that would be really cool. Or visa versa:

[img=left, 150]

That there would be ideal.


This message is a reply to:
 Message 17 by Admin, posted 09-02-2011 8:05 AM Admin has responded

Replies to this message:
 Message 19 by Admin, posted 09-03-2011 6:20 AM New Cat's Eye has not yet responded

  
Admin
Director
Posts: 12579
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.9


(1)
Message 19 of 20 (631780)
09-03-2011 6:20 AM
Reply to: Message 18 by New Cat's Eye
09-02-2011 10:03 AM


Re: picture problem
Catholic Scientist writes:

I think the aspect ratio should stay the same. If I could just put in one number for the width, like it already does now and keeps the same aspect ratio, but then could also put in a comma and add "left" to align it to the left, then that would be really cool. Or visa versa:

[img=left, 150]

That there would be ideal.

You can do that now, just leave out the space after the comma:

Sorry it's so picky about punctuation, I'll take a look at making it more flexible.


--Percy
EvC Forum Director

This message is a reply to:
 Message 18 by New Cat's Eye, posted 09-02-2011 10:03 AM New Cat's Eye has not yet responded

    
Admin
Director
Posts: 12579
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.9


(1)
Message 20 of 20 (631788)
09-03-2011 7:59 AM


Image dBCode Improvements
I've just released a couple minor improvements to the [img] and [thumb] dBCodes. You can now specify a height along with a width. For example, this would specify that the image be displayed at 100 pixels wide by 200 pixels high:

[img=100x200]http://mysite.com/myimage.jpg[/img]

If the actual image width is larger than the displayed image width then when you click on the image it will grow to it's actual width, but the aspect ratio of 100x200 will be maintained. In other words, the image will still be twice as high as wide, as seen here. The first image specifies only a width of 100, while the second specifies a width/height of 100x200, click on the images to see how aspect ratio is maintained:

The other minor improvement is that extraneous white space around the arguments is ignored. For example, this now works:

[img=    100   ,   left   ]http://mysite.com/myimage.jpg[/img]

It would display like this:

Edited by Admin, : Grammar.

Edited by Admin, : Grammar again.

Edited by Admin, : Rerender now that newly introduced image display bug is fixed.


--Percy
EvC Forum Director

    
Prev1
2
Newer Topic | Older Topic
Jump to:


Copyright 2001-2018 by EvC Forum, All Rights Reserved

™ Version 4.0 Beta
Innovative software from Qwixotic © 2019