Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: gif, jpg, png, txt, tpl, lng, ini, pvd, psf, ini, cfg, csv, zip, xml, pas, 7z
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the fifth word in this sentence?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: nostra
« on: May 06, 2010, 10:00:35 pm »

OK, so will it be
Posted by: svenne
« on: May 06, 2010, 11:36:13 am »

Yes, at least that was what I expected, since it says on the help page:

width - Maximum image width (The image will be resized to fit)
height - Maximum image height (The image will be resized to fit)

I supposed this to be like CSS max-width and max-height: that the image will never be wider than "width" and never be taller than "height" while aspect ratio is preserved?
Posted by: nostra
« on: May 04, 2010, 02:06:26 pm »

So you want the image to always take the smaller sizes?
Posted by: svenne
« on: May 04, 2010, 01:11:16 pm »

I think, at least something has changed with version 0.9.9.21, but it still doesn't work. Consider the following code:

{%value=poster maxvalues="1" width="50" height="1000"}

Any poster wider then 50 pixels should be shrinked to 50 pixels in width while preserving aspect ratio. Actual behaviour it is quite strange, because now (if it's smaller than 1000 pixels in height) it is going to be stretched to 1000 pixels in height while preserving aspect ratio. So it gets even wider than it was originally.
Posted by: nostra
« on: April 08, 2010, 05:47:09 pm »

Yeah, it looks like a bug. Will be fixed in the next plugin version.
Posted by: svenne
« on: April 08, 2010, 04:46:47 pm »

Some strange behaviour when exporting poster images via template...
I would suppose the following line to resize every poster image that is wider than 350px, but it does not.
{%value=poster width="350" height="500"}
If a poster image is smaller than 500px in height, it can be a million trillion px wide ;) without being resized.