Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resize image command doesn't work correctly

Status
Not open for further replies.

micheleAtTekTips

Instructor
Mar 9, 2005
2
BE
It would be great if you could help, cause I'm stuck.

Commands seemed to be the answer to my problem I need to:

Resize an image so it fits a 70x70 canvas
Resize the canvas to 70x70
All my images have a different size to start with.

So I created 2 commands one who resizes an image which is heigher than wide and one for a wider than heigh image (guess there's no way for fireworks to check if an image is heigher or wider, but that's ok).
In that command I also resize the canvas to 70x70 after the resizing.

Now here's the problem. Even though I only change one measure of the image to 70pxl Fireworks seems to remember the other measurement (height or width) and doesn't execute the resizing properly.

+/- same problem with the canvas resizing. It resizes but the anchor isn't centered.

What am I doing wrong? Is there a way to check the properties of the actions the command is executing. Can I change the code of the command?

It would be really nice if this would work cause it would save me hours of work!

Thank you for reading and eventually answering this question.

 
Ok, so I've figured out I should use a batch process to scale the images correctly. But now I'm still struggling with the canvas size which should be 70x70 with the image in the center.
As there is no possibility within the batch process to change the canvas size maybe I should change this manually in the .jsf file.
But...I don't now what to write.

Anybody can help me with the code to size my canvas to 70x70 and let the image stay in the middle of the canvas?

Thank you for reading and eventually answering this question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top