En cours

Magento Store - Crop Images

I have finished designing a store in Magento, but I need some PHP script to crop the images when I upload them into my store

Basically we have lots of images of different shapes and sizes, some portrait, some landscape, but very few that are square! So I need to crop the images based on the shortest dimension.

To clarify, my main images in my magento store are 210 x 210, so for a portrait image, it needs to be resized on the width to 210 and then crop equally on the top and bottom of the image to get the other 210 dimension and in landscape images, resized to 210 on the height and the cropped equally to the left and right of the image to get the other 210 dimension.

I know that this is possible with code and therefore an automatic process whenever a product is created, does someone know how to do this?

I am using Magento version 1.5.1.0 and you can see the site as it is at the moment by going to [url removed, login to view]

, you can also see some examples of images with white bars where they have not been cropped

Compétences : e-Commerce, HTML, Magento, PHP, Paniers d'Achat

Voir plus : magento crop image, crop image magento, crop magento, magento image crop, magento crop images, magento upload crop, magento crop, magento product image crop, magento crop image square, script crop php, magento crop image upload, magento shop crop, magento portrait product images, php code crop image magento, landscape images magento, magento upload crop images, magento shop store, designing my product, 48 images, upload crop image magento, magento crop script, magento crop square top, can crop square image magento, crop images magento, crop image bottom magento

Concernant l'employeur :
( 3 commentaires ) REIGATE, United Kingdom

N° du projet : #1081648

Décerné à :

vigentocommerce

Thank you Alex.

50 £ GBP en 1 jour
(199 Commentaires)
8.2

10 freelance ont fait une offre moyenne de 135 £ pour ce travail

phpdevindia

Magento Expert here to solve youn [url removed, login to view] check PM. Thanks

120 £ GBP en 2 jours
(135 Commentaires)
6.6
iclicknetwork

Please check my PMB

150 £ GBP en 3 jours
(62 Commentaires)
6.5
manishiitg

Please check PMB

180 £ GBP en 7 jours
(11 Commentaires)
5.6
fparekh

Dear Sir, Greetings, Please check Your PMB. Thank You, Muatafa

120 £ GBP en 2 jours
(9 Commentaires)
5.1
geocrisro

Hi, I can help you out. Please check P.M.

80 £ GBP en 2 jours
(11 Commentaires)
4.8
RTzine

STOP !!! STOP LOOKING AT ANYMORE BIDS !!! Sir,your search really ends here. Get your work done right and as it is you are expecting. check our private message then decide yourself. Thanks

99 £ GBP en 7 jours
(18 Commentaires)
4.6
babyskill

Please check your pm! Thanks.

100 £ GBP en 1 jour
(6 Commentaires)
4.2
rockie786

Let's start

250 £ GBP en 1 jour
(1 Commentaire)
2.7
kayasystems

Please see my PM

200 £ GBP en 3 jours
(0 Commentaires)
0.0