When I upload an image in wordpress knows its dimensions. Lets say the image is called image.jpg . I now want wordpress to rename the image url to image-w-180-h-200.jpg for example (where the image has a width of 180 pixels and a height of 200 pixels). Is there anyway I can append these details to the url so I can 'retrieve' these parameters directly? (My goal is to eventually get the img width and height through javascript but this way I don't have to preload the img to get it's dimensions, wordpress already has done the work for me)
Cheers!