Permlink Replies: 1 - Pages: 1 - Last Post: 27 Jul 26, 10:21 Last Post By: davidekholm Threads: [ Previous | Next ]
Laza

Posts: 1,580
Registered: 6-Sep-2005
Thumbnail dimensions are wrong in the JSON database
Posted: 24 Jul 26, 12:24
  Click to reply to this thread Reply
When using the fixed shape filter, jAlbum generates the properly cropped thumbnails, still it writes wrong dimensions into the JSON database, as if they were uncropped.

For example using a fixedShape filter on 100x100 pixels thumbnail size on a 4000x3000 pixel image, it crops the thumbnail properly to 100x100, but the JSON file has thumb.width: 100, thumb.height: 75
davidekholm

Posts: 4,028
Registered: 18-Oct-2002
Re: Thumbnail dimensions are wrong in the JSON database
Posted: 27 Jul 26, 10:21   in response to: Laza in response to: Laza
  Click to reply to this thread Reply
Can't reproduce. The JSONMaker simply picks the thumbWidth and thumbHeight variables, so if the generated width and height variables are wrong, so should thumbWidth and thumbHeight as well. Please pass a zip of a 1-image project reproducing this.
Legend
Forum admins
Helpful Answer
Correct Answer

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