OS Property support center

SSH code to resize images after DB migration

  • Lorenzo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • walking on the moon
More
9 years 6 months ago #71405 by Lorenzo
Hello again! :D
I would like to ask if anybody knows a SSH code (or dos code) that can resize all images into all subfolders (given a specific starting folder path) to specicic maximum height, without cropping and preserving aspect ratio? Thaaaanks as always!

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #71488 by Mr. Dam
Replied by Mr. Dam on topic SSH code to resize images after DB migration
Hi,
In the Control panel of OS Property, there is the task: Re-generate pictures. You can use that tool to re-create the pictures (medium and thumbnail) for all properties.
Thanks
Dam
The following user(s) said Thank You: Lorenzo

Please Log in or Create an account to join the conversation.

  • Lorenzo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • walking on the moon
More
9 years 6 months ago #71539 by Lorenzo
Replied by Lorenzo on topic SSH code to resize images after DB migration
hello Dang, well, I actually already used that before posting here, and even if i setup a maximum heitht at 370px, properties were not resized. So i have some tall pictures that are very ugly to see in theme 1 template because they break all the template visual organization. I can try again to regenerate, but i tried, i have 60.000 images, and it is lomg time, but i did it, and without luck... for me the regenerate pictures function does not work, it just added category watermark but didnt resize. any other help please?

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan