Skip Navigation

Size of photos inserted into blog pages

Travel Forums System Talk Size of photos inserted into blog pages

Page
  • 1
  • 2

Last Post

1. Posted by nzhamsta (Respected Member 93 posts) 2y

Hi,

How do you change the size of the photos inserted into a blog page? I have just seen another blog that had much larger sized photos displayed.

My photos are uploaded to you at a size of 720x480. I cannot see anything in the template that reduces the size displayed. I right clicked and saved one of my photos from a blog page and it is 400x267 in size.

Many thanks,
Glynn

2. Posted by aboo10 (Respected Member 118 posts) 2y

Hi Glynn,
When you insert photos into your blog from your gallery there is an option for insert size, being thumbnail or regular... does that help?

Cheers,

Abby

3. Posted by nzhamsta (Respected Member 93 posts) 2y

Hi,
I know about that as I select "regular" every time. It is the size of the "regular" I wish to increase.
Cheers,
Glynn

4. Posted by Peter (Admin 5535 posts) 2y

There should be a large option for you as well if it's possible with the photo. If you're not seeing that, then maybe there's a problem with photos under 800px wide.. I'd have to look into it.

A quick workaround - when the img is inserted into your entry, add a "large_" in front of the file name. So [img=http://photos.travellerspoint.com/1/image.jpg] becomes [img=http://photos.travellerspoint.com/1/large_image.jpg]

[ Edit: Edited on 24-Jan-2012, at 18:35 by Peter ]

5. Posted by nzhamsta (Respected Member 93 posts) 2y

Hi Peter,

The large_ works fine. See the Fiji page.
The only options I see when I insert a photo are thumbnail and regular.
If large is available and you select large, what size is used? The original size or a reduced size to make sure the photo fits?

Looks like I will have to update every page. What fun.

Many thanks,
Glynn

6. Posted by Peter (Admin 5535 posts) 2y

The large file sizes go up to 800 px

If you upload the original photo and it's larger, it will be sized down. If you upload a smaller photo, but it is larger than 400 px , then it will show at the original size. So in your case, it should show the 720x480 size. You do have to be a bit careful with the large photos because they can break some of the default blog designs.

This same size naming is used in the galleries as well.

I'll have a look at why the large option wasn't showing for you - that does seem like maybe a bug, possibly related to the photo not being quite 800px.

7. Posted by Sam I Am (Admin 5579 posts) 2y

I'm pretty sure the code does this:

If no photo exists in 800px wide, then don't show LARGE insert option. When creating this I was positive that large_photoname.jpg only existed if the size was at least 800px, but I see here that this isn't necessarily the case.

Right now, uploading in 720px width would mean the LARGE insert option never shows.

Glynn, we might be able to run a script on just your blog entries adding "large_" before every photo, but it could also cause some unwanted effects (if you have entries with say two smaller photos next to each other).

8. Posted by nzhamsta (Respected Member 93 posts) 2y

Hi guys,

Thanks for looking at this.
Should the insert options be:
i. Thumbnail.
ii. Small. This would insert the photo at 400 wide (or full size if smaller than that).
iii. Full size. This would insert the picture at its full uploaded size to a maximum of 800 wide.

Does your code mean that "regular" reduces the size to 400 wide automatically?

I will go through my blogs to insert the large_ manually as I am not sure I want every page to be done. Will be slow due the map size changes I have made and the fact the map ID changes every time the page is published.

Many thanks and regards,
Glynn

PS Are you able to check please what size you have the Vietnam photos saved as? I have no edited 720*480 photos here, which means I must have uploaded them at full (very large) size. Cheers.

9. Posted by Sam I Am (Admin 5579 posts) 2y

Quoting nzhamsta

Should the insert options be:
i. Thumbnail.
ii. Small. This would insert the photo at 400 wide (or full size if smaller than that).
iii. Full size. This would insert the picture at its full uploaded size to a maximum of 800 wide.

More or less yes, these are the options we give:
Thumbnail
Regular (400px in landscape)
Large (800px in landscape)

We don't give the option to insert in full size, as that could end up being 2400px or some other huge number that would really break the blog layout.

The issue here is that as you've uploaded in 720, the code sees you don't have any photos in 800px wide, and thus doesn't give you the option to insert them. What I didn't realize when putting this up is that if the original photo is between 400 and 800, we actually DO create a 'large' version of the photo, which is basically a copy of the original in its original size.

Quoting nzhamsta

Does your code mean that "regular" reduces the size to 400 wide automatically?

When uploading, we basically create 4 copies of the original. One in thumbnail, one = small (hardly used anywhere), one = regular/M and one = large. In addition we save the original if you have ticked the box asking us to do so. That photo could be 1000px wide or 3500px wide, we save it as it is. Obviously the larger that is, the slower the uploading happens and the more storage space is used, hence the general recommendation to resize before uploading.

Quoting nzhamsta

PS Are you able to check please what size you have the Vietnam photos saved as? I have no edited 720*480 photos here, which means I must have uploaded them at full (very large) size. Cheers.

Looking at some random photos from Vietnam from your gallery, it looks like they were uploaded in 720px width, as these "large_" versions are all that size (they'd be 800 if you had uploaded in anything over 800px):

http://photos.travellerspoint.com/353794/large_vn057.jpg
http://photos.travellerspoint.com/353794/large_vn003.jpg
http://photos.travellerspoint.com/353794/large_vn055.jpg

10. Posted by nzhamsta (Respected Member 93 posts) 2y

Hi,

Thanks for looking at this and your explanation. Is it a simple fix to insert "large" copies if they are between 400 and 800?

I found the Vietnam photos in a strange place on my computer and they are all 720 wide.

Cheers,
Glynn