For the development of a magento webshop, I needed to return the height of a resized image. There was no standard function to return the resized height. Therefore I used the underneath method to return the height of the resized image.
I first resized the image, and second made a new object of this resized image, this object could return the OrginalHeight of the resized image.
In this way I got the height of the resized image.
<?php $imgUrl = $this->helper('catalog/image')->init($_product, 'small_image')->constrainOnly(TRUE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize(280,NULL); $dirImg = Mage::getBaseDir().str_replace("/",DS,strstr($imgUrl,'/media')); $imageObj = new Varien_Image($dirImg); $imgHeight = $imageObj->getOriginalHeight(); ?>
Hereby I present to you my fourth showcase within my Industrial Design bachelor.
My B2.2 showcase consisting of all my developments the past semester, my identity, vision, and future plans.
Augmented reality is nowadays more and more emerging in our society. This offers chances within the society of tomorrow. You see the first applications appear on mobile phones, tablets and gaming devices.
Layar brings augmented reality to printing. The company aims to make magazines, papers and promoting prints interactive. There is put an augmented reality layer on top of the print where the user could interact with.
Also AR games appear on mobile devices, on the PSP vita there is a whole category of AR games. The Vita aims to bring the real and game world together while creating a new way of gameplay. AR games are appearing on the top of the table, virtual soccer players are playing on the table top and virtual tanks are occupying the tables of the modern society.
Also on the smartphones and tablets simpele game appear using AR. AR defender is a kind of tower defense game where you put an AR tag in the real world and on your mobile devices appear a whole tower that is attacked by different virtual units in a real environment.
In the market of gaming will be place for augmented reality playgrounds, where young people and kids come to play a game together. When I was I kid I really liked to build a city of blocks and play as it as it was a medieval city with soldiers ready to attack the city of my best friend! Imagine a playground were several kids can play a multiplayer strategic game in an augmented world were the toys and blocks become real objects of a virtual game. That will be realistic view of the world of tomorrow with the upcoming devices.
However, the interaction with the applied augmented reality nowadays is usually realized by mobile screens variating from 3 tot 10″ inch. In the world of tomorrow we’re able to manufacture wearable computing.
This new and upcoming business is a very broad in sense of possible devices and will grow the coming years very hard. Intelligence in clothing will evolve and measure several aspects of your body. Intelligent devices will appear in the front of your eyes in the most subtile way. Or your intelligent watch will substitute or append your mobile phone.
Google glass is one of the pioneers in this area of business market. In the market of heads up displays Google glass aims to bring augmented reality in a subtile way in glasses. The device is controlled by your voice and will bring all kind of information and interaction in the front of your personal view. However, this new product has his positive and negative effects (and risks) of, interaction with other people.
Concluded, the society of tomorrow even as the social interaction of tomorrow will look different due the new layer of augmented reality that will be altered by the new wearable computing. Maybe the mobile phone will disappear in the world of tomorrow where we only need our intelligent devices of our body. Personally I hope this evolvement of wearable computing will be subtile and absolutely not substitute our perception of the real world where we eventually live in.