Magento Forum

Creating a “to scale” diagram for paintings/pictures/photos
 
doog78
Jr. Member
 
Total Posts:  16
Joined:  2008-08-05
 

Hi Guys
I was just wondering if anyone has implemented any “scale assistant” type features for magento.
For example if you are selling pictures online you would add in the dimensions in an attribute and the front end will show the picture with a background of say a door to give the buyer a clearer idea of scale one example is here, http://www.londonart.co.uk/sales/artwork.asp?ArtworkID=64332
Another example is here using a person as scale reference http://www.eyestorm.com/works/detail/Tim_Wood/42486.html

Any light or advice that could be shed would be great
many thanks
Dougal

 
Magento Community Magento Community
Magento Community
Magento Community
 
demonkoryu
Guru
 
Avatar
Total Posts:  328
Joined:  2008-11-26
Dortmund, Germany
 

Read the attribute in a template and scale the preview image to a proper size (DirectResize helps here), then overlay it over the generic room image either using CSS (position:absolute) or with PHP (GD or ImageMagick).

 
Magento Community Magento Community
Magento Community
Magento Community
 
doog78
Jr. Member
 
Total Posts:  16
Joined:  2008-08-05
 

Thanks Nightfly, that seems like a good suggestion. I will give it a go. Cheers!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top