phAlbum proportions
Hos do you change the thumbnails to be proportionate? So that long and wide images aren't forced into the same dimensions?
|
While it is possible this version of phAlbum can't do it without some code modifications.. i'm not at home right now so I can't post some code. I'll try to remember to post it when I get back.
|
is there a fix for this?
To make a thumb with a fixed width but height to be variable according to the original. Thanks in advanced |
Darn! I could help you to but the code is at home!
You could something like this: Code:
function image_resize($iImage, $allowedwidth, $allowedheight) |
did anyone get this code?`please PM me!
|
I've need too of the code to phalbum with resize thumbs in proportion.
But the code upon don't work. Please post a right version. I think it is util to many user. Thanx |
any updates to this?
|
guess not. looks like this forum may be dead.
|
Try this...
Right Before line 318, before this line: PHP Code:
PHP Code:
|
no, the thumbs get progressively smaller as they load.
|
1 Attachment(s)
Alright.. I took a little bit of time and tested it.. you'll have to download the modified file though as I've made to many changes to document here. This one should work with proportions properly, as well as be compatible with php 5.3.x
|
one more idea, is there any way to have the picture clicked to popup in the same window? Maybe the use of java or something?
|
Like a light box window?
|
Yea, just so that it doesn't open a new "window". One with a left right arrow would be great! I'm no coder just helping out a family member.
|
Well right now I don't have alot of spare time to add things like to to phAlbum but i'm sure adding a jquery lightbox wouldn't be to difficult even for a non coder. You should do a search for jquery lightbox.
|
got it working 1/2 way, just adds the lightbox to the bottom of the page....
|
All times are GMT -5. The time now is 03:00 AM. |
Powered by vBulletin®