This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Pages: 1 - Last Post: 16 Jul 23, 13:12 Last Post By: JeffTucker
BerryL

Posts: 7
Registered: 27-Jul-2022
Bigger bricks
Posted: 15 Jul 23, 23:24
 
  Click to reply to this thread Reply
My brick images are suddenly way bigger than I want. I guess it must be some setting I changed but I can not find how to change it back. Who knows how to change this back?

Edited to delete the examples by: BerryL on 16 Jul 2023, 08:44
JeffTucker

Posts: 8,117
Registered: 31-Jan-2006
Re: Bigger bricks
Posted: 16 Jul 23, 00:18   in response to: BerryL in response to: BerryL
 
  Click to reply to this thread Reply
We would need links to the "before" album and the "after" album to be able to tell for sure. But try changing the setting under Photoblogger > Main content > Images > Columns.
BerryL

Posts: 7
Registered: 27-Jul-2022
Re: Bigger bricks
Posted: 16 Jul 23, 08:44   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Thank you. I think I figured out what the problem was: the size (in pixels) of the miniatures had somehow changed. I am sure I did not change this. Do you have any idea how that could have happened?
Laza

Posts: 1,809
Registered: 6-Sep-2005
Re: Bigger bricks
Posted: 16 Jul 23, 11:30   in response to: BerryL in response to: BerryL
 
  Click to reply to this thread Reply
The code hasn't changed, but something in the underlying Java might have. (int)5.6 now results in 5, while in older versions it yielded 6. I can't believe this has happened, but so far I could not find any other explanation.
JeffTucker

Posts: 8,117
Registered: 31-Jan-2006
Re: Bigger bricks
Posted: 16 Jul 23, 13:12   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Very strange. As far as I know, Java has always done a simple truncation when casting a float or a double to an int, going back to the earliest definition of the language. It's never been the equivalent of a round or ceil operator. I'd be astonished if BeanShell or Groovy ever did anything else, either. In Javascript, of course, that's undefined.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums