If I change pImageID to (image foto), Yes Regards, Carles Elanor Buchanan Thursday Dec 06 2018 at 12:03 AM Hi Carles The lesson expects pImageID to be a long id, this would be something like image id 1003 of card id 1002 of stack "TestStack" To use the ID from the Property Insp...
activeLayer; if (foto) { resizeLayer(foto); } else { alert("No active layer found."); } } function resizeLayer(layer) { // Get the bounds of the active layer var bounds = layer.bounds; var width = bounds[2] - bounds[0]; var height = bounds[3] - bounds[1]...