Page 2 of 2

Re: images in the portal?

Posted: 16. February 2008 07:17
by hoffy
Hi,

still wanting to get to the bottom of this one!

http://www.catchfencephotos.net/phpbb3_ ... portal.php

This shows what I would like to see.

If you use the following credentials,it changes to my other style the image on the portal disappears!

username: testuser
p/word: testuser

Re: images in the portal?

Posted: 19. February 2008 13:52
by hoffy
Hi,

Just another one. Images as attachments also dont appear to display in the portal. Am I missing something there as well?

Re: images in the portal?

Posted: 19. February 2008 20:36
by Kevin
Attachments are not displayed, yes. BBcodes are parsed, but not inline attachments yet.

Re: images in the portal?

Posted: 19. February 2008 22:29
by hoffy
Thanks!

Re: images in the portal?

Posted: 19. February 2008 22:36
by Kevin
hoffy wrote:Hi,

still wanting to get to the bottom of this one!

http://www.catchfencephotos.net/phpbb3_ ... portal.php

This shows what I would like to see.

If you use the following credentials,it changes to my other style the image on the portal disappears!

username: testuser
p/word: testuser
I took a look at your testboard - very strange.
But it seems that it has nothing to do with the portal itself. It does its job right. I took a look in the source code:

Code: Select all

<div class="content"><div style="float: left; margin: 0 0 0 5px"><img src="http://i28.photobucket.com/albums/c204/hoffy73/Camileon_Rose_DSC00551_Edit.jpg" alt="Image" /></div></div><br />
Everything fine.

So it defiantly has something to do with your style.

Re: images in the portal?

Posted: 19. February 2008 23:28
by Ice
One thing i may ask, is it a big problem that images get slightly cut off? When I look at the fixed width version, some of the images get cut off in the posts anyway.

Re: images in the portal?

Posted: 19. February 2008 23:35
by wolferey
Ice wrote:One thing i may ask, is it a big problem that images get slightly cut off? When I look at the fixed width version, some of the images get cut off in the posts anyway.
It cuts them off on a normal pbpBB3 clean install forum with fixed width too, and it is a big problem if the image is much larger than the style. Lets say an image is 1600 in width, and the board is 900 in fixed width, and with the profile on the right side taking up around 120+? pixels, your only seeing around 740 pixels of a 1600 pixels image, the rest is just cut off.

I have fixed this by setting a fixed width for the image tag in bbcode.php and making the image an url so when people click on it, you can see the big picture. You can also make a custom bbcode that allows you to set image width and height if you want.

Re: images in the portal?

Posted: 20. February 2008 05:29
by hoffy
Ice,

Yes, that is correct, some of the images on the dev board are cut. The copy of the dev board is slightly older & different to my live board. On the live board, there is a max image size of 800px on any side

Wolferey has it correct. Prosilver styl will cut images that are bigger then the available width of either the screen or the forum.

As stated, its to do with the setting a max width under img in common.css. Remove that tag & everything works fine, unless you have a small resolution monitor (one of my members is still using 800*600....get into the 21st century buddy!!)

I have come up with a solution that will keep everyone happy. That is to setup a small resolution style. In this style, the max width in common.css will be specified, so when viewing through the forum, all images work (in this style it will shrink the viewable image, so at least the whole thing can be seen), except for the portal. I will then have my 2 other styles (the full width & the one with the forum width specified) without having a img max width specified. Images on these 2 styles will work both on the board & in the portal. Considering most of my users have screens that support larger resolutions, this will be acceptable.

Thanks for your help & thanks for looking!

Re: images in the portal?

Posted: 4. March 2008 11:31
by hoffy
HI,

Just thought I'd say thanks for the help. Went live with the portal the other night (I know, its still in development), but it looks great!

http://www.catchfencephotos.net

Cheers