-
- 36 Posts
Hi Perrine~
Your link for slimbox seems to be wrong, but it does not matter. I went to the slimbox site and downloaded latest slimbox.js and mootools.js and did everything as per the instructions on the page but I still have the same problem.
I don’t know why I cannot get the js to work on my pages which is too bad because I could really use this and it seems to work so well on all the example pages.
Thank you for all your effort!
-
- 1,842 Posts
Oops, sorry, was not a slimbox.js but slimbox.zip ! Try again... we never know ^^ (I’ve changed the link above)
I guess it can be a problem with the newest version of Mootools or Slimbox... or maybe you didn’t get the good mootools package ?
I don’t know what to say if it’s not that :/
-
- 6 Posts
I mean that i had to resize inserted image in TinyMCE editor. If i just insert image and don’t do anything to it the image shows up it’s original size on document.
Should this plugin resize images also when i’m not resizing images in TinyMCE? (i doubt this because the thumbnail sizes aren’t defined anywhere in the parameters)
And yes, i clicked OnWebPagePrerender.
Anyway it’s working now fine!
Thanks for great script!
-
- 7,075 Posts
As Perrine implies, you NEED to set the height or (and) width (depending on the method you choose for resizing).
The way it works is that DirectResize uses width and height attributes to resize the image : it first reads its value, then resizes the image (according to one of the methods available : w, h, w+h... etc), strips it from height and width, caches the new image and then insert the path to the cached resized image instead of the original.
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id