Author Topic: Long side in pixel ( 1400 ) with variables into the filename  (Read 933 times)

Offline dmdeckbar

  • Member
  • **
  • Posts: 69
    • View Profile
Long side in pixel ( 1400 ) with variables into the filename
« on: October 13, 2022, 02:16:57 AM »
Dear PM users,

I have to resize photos for a client on a regular basis and want to safe it in the safe as dialog.

Have done that before and its great.

I would get the size of longest pixel side wich is 1400px into the filename with variables.

Tried {width} but it writes 8005 in the filename. Tried the other possibilities but no one worked like I would like.

Where is my mistake ???

Best Dirk

Offline Rguzmanphoto

  • Full Member
  • ***
  • Posts: 158
    • View Profile
Re: Long side in pixel ( 1400 ) with variables into the filename
« Reply #1 on: October 13, 2022, 04:54:36 AM »
Have you tried  {cropwidth} or {cropheight} ?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: Long side in pixel ( 1400 ) with variables into the filename
« Reply #2 on: October 13, 2022, 09:06:37 AM »
Dirk,

I have to resize photos for a client on a regular basis and want to safe it in the safe as dialog.

Have done that before and its great.

I would get the size of longest pixel side wich is 1400px into the filename with variables.

Tried {width} but it writes 8005 in the filename. Tried the other possibilities but no one worked like I would like.

Can you post a screenshot of the "Save As" dialog showing all of your settings, please?  Use the 'Attachments and other options' link when you're composing your reply to this message and there you'll be able to upload your JPEG format screenshot.

Thanks,

-Kirk

Offline dmdeckbar

  • Member
  • **
  • Posts: 69
    • View Profile
Re: Long side in pixel ( 1400 ) with variables into the filename
« Reply #3 on: October 13, 2022, 08:49:17 PM »
Good morning,

here is the screenshot - how I did it. The other strange thing is - all the files are selected and PM is creating 3 different folders.
The first two are only with two photos and the third contains 12 photos.

I choose 16 photos to - resize and safe as -

And why

Offline dmdeckbar

  • Member
  • **
  • Posts: 69
    • View Profile
Re: Long side in pixel ( 1400 ) with variables into the filename
« Reply #4 on: October 13, 2022, 08:50:52 PM »
sorry to fast - and why are the with number different in the created folders ?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: Long side in pixel ( 1400 ) with variables into the filename
« Reply #5 on: October 14, 2022, 07:45:51 AM »
Dirk,

I believe the {width} will evaluate to the width of the image before it is processed (resized).  You may as well just enter 1400 everywhere you want the width to be the same.

-Kirk

Offline dmdeckbar

  • Member
  • **
  • Posts: 69
    • View Profile
Re: Long side in pixel ( 1400 ) with variables into the filename
« Reply #6 on: October 16, 2022, 12:17:37 PM »
Thanks Kirk, that's what I will do.
Best Dirk