Blog - photography size

Travel Forums System Talk Blog - photography size

1. Posted by McCaffreyD (Budding Member 20 posts) 2y Star this if you like it!

I have written a blog of my big trip to Australia.

In the blog I mostly chose the photos to be of medium size, but now I decided to turn the blog into a book and the photos would be better to be the "large" size.

Is there any way, I can convert all of them to large size in one step rather then reentering all of the photos into the whole blog (hundreds of photos) one by one and choosing the new size format?

That seems like very hard work. Thank you for any tips.

2. Posted by Sander (Moderator 5363 posts) 2y Star this if you like it!

The best thing I can come up with is doing the following for each blog post:
* Open the blogpost in the editor
* Copy all text
* Paste all text in notepad or a similar text editor (not Word/Wordpad!)
* Use the "Replace all" function of the text editor to:
replace http://photos.travellerspoint.com/790176/ with http://photos.travellerspoint.com/790176/large_
* Use the "Replace all" function of the text editor to:
replace http://photos.travellerspoint.com/790176/large_large_ with http://photos.travellerspoint.com/790176/large_ (this last step to prevent photos which are already large from breaking)
* Copy all text.
* Paste in the blog entry editor.
* Publish
* Check on your blog if all the photos indeed still work

Still a lot of work, but at least more manageable than replacing each image individually.

(If that still sounds like too much work, it might be that our admin, Peter, will come up with an even better solution, but for the moment I'm not seeing one.)

[ Edit: Edited on 26-Nov-2016, at 07:20 by Sander ]

3. Posted by McCaffreyD (Budding Member 20 posts) 2y Star this if you like it!

Super speedy reply, thanks for that!

It does kinda still feel like a lot of work. It's my own bad, as it was my ever first blog and ever first trial to have it printed, so am still learning a lot ....
I will wait if Peter comes up with something a little less time consuming, I will be glad, if not, I will give this a go.

Thank you again! Best Dagmar

4. Posted by Peter (Admin 6704 posts) 2y Star this if you like it!

Sander's answer is probably the best option I'm afraid. I imagine those steps would not actually be so bad when you get in the hang of it.

The other thing I can think of is that if you are using the HTML output to generate a print view, then you could generate the HTML , view the source of that , follow the find/replace routine Sander outlined, and save the generated HTML for printing. That means you'll only do the find/replace once and not for each entry. Downside of this is all your entries will still have the original smaller photos meaning you would have the same problem next time you tried.