# Need some expert advice

**URL:** https://forum.kirupa.com/t/need-some-expert-advice/120454
**Category:** Uncategorized
**Created:** [August 24, 2004, 2:01pm UTC](https://forum.kirupa.com/t/need-some-expert-advice/120454 "2004-08-24T14:01:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![w\_digital](https://avatars.discourse-cdn.com/v4/letter/w/35a633/32.png) [@w\_digital](https://forum.kirupa.com/u/w_digital)
#### Post date: [August 24, 2004, 2:01pm UTC](https://forum.kirupa.com/t/need-some-expert-advice/120454/1 "2004-08-24T14:01:31Z")

</div>

Sorry if this is a bit out of the scope of this section of the foum but your help will be much appreciated.

I am in the process of upgrading a clients website, and so far so good. I have one major problems though…

**Background:** The website is for a nightclub promotions company who currently have a static Flash website, but now require a dynamic website run by PhP. They take many photos of their events week in and week out and need an easily maintainable website. Their ‘Gallery’ is the most important part of their site.

**The problem:** Currently all their photos are 250px width (for landscape) or 250px height (for portrait). The new site requires 100px width (for landscape) and 100px height (for portrait). There are over 100 folders of photos on the server. I need to re-size all these images!!!

I know it is possible to have an automated task in Photoshop, or batch process in fireworks, but the problem is how can I separate the portraits from the landscapes on a folder-by-folder basis to re-size correctly? Any ideas?

\*\*My current possible ideas: \*\* Use PhP function ‘getimagesize’ to work out what a landscape photo is (if width \> height), and then maybe create some batch file to move the files based on the output of the PhP function. Not sure if this will work, but you might be able to advice me on this?

Sorry for long post, but your help will be much appreciated!

Cheers in advance.

W Digital

---

<div class="post-metadata">

### Author: ![Hans\_Kilian](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@Hans\_Kilian](https://forum.kirupa.com/u/Hans_Kilian)
#### Post date: [August 24, 2004, 4:47pm UTC](https://forum.kirupa.com/t/need-some-expert-advice/120454/2 "2004-08-24T16:47:53Z")

</div>

You could make a Photoshop action that resizes the images to 40% of the original in both height and width. That would work on images in both landscape and portrait orientation.

---

<div class="post-metadata">

### Author: ![Carlitio](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@Carlitio](https://forum.kirupa.com/u/Carlitio)
#### Post date: [August 24, 2004, 7:52pm UTC](https://forum.kirupa.com/t/need-some-expert-advice/120454/3 "2004-08-24T19:52:52Z")

</div>

[http://www.brothersoft.com/Multimedia\_Graphics\_Image\_Editors\_Photo\_Resizer\_Pro\_24567.html](http://www.brothersoft.com/Multimedia_Graphics_Image_Editors_Photo_Resizer_Pro_24567.html)

Shareware for 30 days, might do the trick if combined with Hans’s idea,

Carlitio

---

<div class="post-metadata">

### Author: ![w\_digital](https://avatars.discourse-cdn.com/v4/letter/w/35a633/32.png) [@w\_digital](https://forum.kirupa.com/u/w_digital)
#### Post date: [August 24, 2004, 8:48pm UTC](https://forum.kirupa.com/t/need-some-expert-advice/120454/4 "2004-08-24T20:48:10Z")

</div>

Guys,

Thanks very much. Hans, That is a great idea!

My only problem now, to make matters worse is they want all the old thumbnails resized (which you have found a solution for and is great), and to have a large image displayed on click of the thumbnail. This means I have to rotate and brighten all the large images (cause previously they were not there).

I guess there is no way I could automate this task is there?

I think its an almost silly question, cause I can’t see how a software package can work out if a photo needs rotating, and requires brightening?

---

<div class="post-metadata">

### Author: ![Carlitio](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@Carlitio](https://forum.kirupa.com/u/Carlitio)
#### Post date: [August 24, 2004, 9:42pm UTC](https://forum.kirupa.com/t/need-some-expert-advice/120454/5 "2004-08-24T21:42:37Z")

</div>

The only way I can think of is to use the actions tab next to the history tab in photoshop. You basically click record, do your mutiple processes on an image, then click stop. You can then ‘replay’ what you did on other images. You can also edit the individual steps by double clicking on them.

As for brightening them and deciding if they need rotating? Your initial idea of code to sort which are wider than long is plausable but brightening?!? They would more than likely need individual inspection. I can only see coffee being the answer. But I could be wrong. Make sure it’s on the invoice titled ‘sanity danger money’.

---

<div class="post-metadata">

### Author: ![Marble](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@Marble](https://forum.kirupa.com/u/Marble)
#### Post date: [August 24, 2004, 11:32pm UTC](https://forum.kirupa.com/t/need-some-expert-advice/120454/6 "2004-08-24T23:32:41Z")

</div>

Photoshop supports batch processing. So if you run an action, like Carlitio said, you can batch it on a bunch of images in a folder.

---

<div class="post-metadata">

### Author: ![Hans\_Kilian](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@Hans\_Kilian](https://forum.kirupa.com/u/Hans_Kilian)
#### Post date: [August 25, 2004, 5:54am UTC](https://forum.kirupa.com/t/need-some-expert-advice/120454/7 "2004-08-25T05:54:30Z")

</div>

I’ve used ACDSee to rotate a bunch of images. You select all the images you want to rotate and let it do its magic. Luckily my new camera has an orientation sensor that tells Photoshop if the image should be rotated or not. That’s a real time-saver.

As for brightening, I’ve used Photoshop for that. I’ve recorded an action that does a ‘curves’ adjustment (image-\>adjustments-\>curves) that brightens the image a bit. Actually that’s part of my standard image workflow. Digital images often seem a bit dark.

If you’re interested, the steps in my standard workflow action is as follows:

- auto contrast
- brighten a bit via curves
- resize for web using the percentage trick from above
- unsharp mask with 70, 0.7, 1 (the images from my camera are a bit soft)
- save for web
- close image

That way Photoshop can work on a bunch of images while I watch the olympics on TV…

---

<div class="post-metadata">

### Author: ![w\_digital](https://avatars.discourse-cdn.com/v4/letter/w/35a633/32.png) [@w\_digital](https://forum.kirupa.com/u/w_digital)
#### Post date: [August 25, 2004, 7:39am UTC](https://forum.kirupa.com/t/need-some-expert-advice/120454/8 "2004-08-25T07:39:49Z")

</div>

Yeah thanks again guys,

I have been reading into Photoshop’s new ‘File Browser’ Feature and apparently yo can Batch rename files, rotate and stuff all via the file browser within Photoshop. That will work well for me.

Now Hans, that Auto contrast sounds good… what are ‘Curves’?

And guys, can you set Photoshop to brighten automatically, because the photos I am working on are taken in nightclubs so some are darker than others?
