Recent Topics

1 Nov 28, 2012 22:50    

Does anyone know of an easy way to take a bunch of images that have been inserted into a post and resize their display on the page. In other words, I don't want the actual file resized, just how they're displayed on the site. If I have a bunch of files that have the same dimensions it's easy because I can use Find & Replace to change all the 800s to 100s for example, to make a thumbnail page. But when all the dimensions are different, find and replace is pretty much useless. Is there another way to do this? I just want to be able to edit a post, add like 10 or 20 photos at a time, then simultaneously make them all display as thumbnails. Anyone have an easy way to do this?

2 Nov 28, 2012 22:56

Nevermind, I just used the Find & Replace in Word ...seems Notepad ++ doesn't work as well for that...

3 Nov 28, 2012 23:21

check the "regular expressions" first, then do the following

find
width="[0-9]+px"

replace
width="100px"

For the last year or two I code everything in Notepad++ (windows) or Geany (linux) :)

4 Nov 28, 2012 23:22

Awesome - now THAT'S what I was looking for! Thanks!


Form is loading...