I want to validate existing images size which have been saved before. Value stored in database is just image name.
Here is my html code
<div ng-repeat="image in stored.images">
<img ng-src="image_folder/{{image.name}}" />
</div>
Is there any way to get image size (in KB/MB not height and width) from image path in angularjs? or should do something in java controller?