Image Manager: Error in resize-function

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Image Manager: Error in resize-function

Post by nils73 »

Since I have never been using the Image Manager before I just stumbled upon the resize and crop features there and I tried them. Crop works great but resize doesn't work at all.

Using my Web Developer Toolbar I get the following error:

End of value expected but found 'px'. Error while trying to process the value for attribute 'height'. Declaration ignored.

End of value expected but found 'px'. Error while trying to process the value for attribute 'width'. Declaration ignored.


I looked into the code and found

Code: Select all

var currentImageFile = "%2F0008.jpg";
Just wondering if the / (%2F) is neccessary in there or if it causes part of the error. Sorry if I am all wrong ... anybody else with this problem? Or even better: with a solution / hack for me? I am using GD for image transformations (specified in config).

Regards,
Nils
Locked

Return to “[locked] Quality Assurance”