Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

resize all small images
 
Dx3webs
Sr. Member
 
Avatar
Total Posts:  178
Joined:  2008-12-16
 

hi there,

I am trying to follow the instructions given by Discovery here:

http://www.magentocommerce.com/wiki/resizing_images_en-masse_in_order_to_improve_page_load_times

in this he suggests running the following code

find . -type f -name ‘*.jpg’ -exec identify {} ; |grep 250x |cut -d “ “ -f1 |awk ‘{print “mogrify -resize 265”,$1}’|bash

however on running it give:

-bash: syntax error near unexpected token `|’

Does anyone have a clue as to what I am doing wrong or an alternative means of achieving this ie “If some of your product images are narrower than the 265 pixel product window (of the default template) then you may want to resize them en-masse. Clearly you don’t want to accidentally scale up any thumbnails, so it helps to know what images are a problem width, e.g. 250 pixel ones from the previous ecommerce package made when most browsers were 800×600… “

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