Topic: image resizing
What should I do to keep the original size of the picture?
Right now big images are being automaticaly reduced to a smaller forum's size.
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → image resizing
What should I do to keep the original size of the picture?
Right now big images are being automaticaly reduced to a smaller forum's size.
something like this Infiniti (post #6)
http://punbb.org/forums/viewtopic.php?p … 34#p101234
thanks yemgi
now it looks like this:
http://www.pawforum.ovh.org/viewtopic.php?id=4
and differently on IE and differently on Mozilla Firefox
The reason it looks different on IE is that IE is using javascript to resize the image because it doesn't understand max-width.
However, since the default styles are designed not to fall apart the forum won't expand to fit large images so instead of being resized they will be cropped. If you want to change it so you can see all of the image then you either need a style created to do that or scroll posts horizontally using overflow or a javascript solution.
If you want to change it so you can see all of the image then you either need a style created to do that or scroll posts horizontally using overflow or a javascript solution.
thank you
so, maybe something like a little solution, please?
anybody please?
Would it help if you linked the resized image to the original size one through bbCode? Then users initially see the resized image but can look at the full size one when they click on it. That's how I always do it when I wanna make sure users have the opportunity to see the full size image and not just a scaled down version.
-TeeJay
These are JS image viewers. Tried everyone except for Thickbox, and Lytebox seems to be the most resilient and best for speed when configured correctly, in my opinion.
http://www.dolem.com/lytebox/
http://www.huddletogether.com/projects/lightbox2/
http://orangoo.com/labs/GreyBox/
http://jquery.com/demo/thickbox/
Thanks guys,
but there is another problem.
I would like the pictures to be available only to logined members. Meanwhile what you suggest gives access to the picture to all, it's enough for them to know direct link of a certain picture. They don't have to log in and will see the picture anyway,e.g.:
http://www.pawforum.ovh.org/stuff/infiniti.jpg
How to block this access?
I am not a PHP programmer, so I can't help you with writing scripts that might automatically block access like I think you're looking for. What I can suggest is that you set up a forum on your message board that only registered members can access where it is allowed to post images and links. Of course that would mean more of an administrative effort as someone would have to monitor that users don't post these where it's not allowed if you're looking for that kind of control on your message board.
I believe PunBB also has a gallery mod or plugin, but I've never used it. Maybe it's possible to set that up only for registered users? That's as far as the extent of my brainstorming goes...
-TeeJay
PunBB Forums → PunBB 1.2 troubleshooting → image resizing
Powered by PunBB, supported by Informer Technologies, Inc.