Hi there,
I just wonder why pictures are not resized automatically following your screen resolution when you display them. I've got a 1900x1200 screen resolution, some people still 1024*768. This is a quite big difference, and when I resized my pictures, I tried to have them to fit on my resolution ...
I think this is the biggest missing feature on this gallery ! this is shame, because it's also my favourite one and probably one of the best.
I'm sure it's not really difficult to implement this feature with some javascript, but I can't do it though.
Maybe I didn't check correctly and there is already a plugin ?
Is anyone fancy such a feature ?
Are you sure you need a plugin?
Offline
The automatic resize does not exist by default. You can add photos with a 1000*1000 (max) resolution and each user can ask to display a maximum width and maximum height. The resize will be made at web browser level, so it may be poor quality.
A project has started to provide a slideshow where "web resized" photo would fit into the screen (javascript resized if necessary) and the photo is centered in the web browser window:
http://bacasable.fr/piwigo/picture.php? … slideshow=
I send an email to the author to know when he can distribute his template with the auto resize javascript function
Offline
Good news ! At least there is something going on.
Let me kmow the answer ! I hope it's going to be released soon !
Hi guys,
Any news about this topic?
Because my slideshows look like this: http://rigolus77.free.fr/photos/picture … slideshow=
Not really good, thoug!
Thank you
Offline
To bad that he does not respond to e-mail.
I would really like the automatic resizing functionality. This would make me be able to leave Gallery which does not really do what I want it to do.
Please try to reach him again, would be so great to have his stuff available to others!
Fredrik wrote:
To bad that he does not respond to e-mail.
I would really like the automatic resizing functionality. This would make me be able to leave Gallery which does not really do what I want it to do.
Please try to reach him again, would be so great to have his stuff available to others!
Does Gallery implement a such functionality ?
This kind of functionality is something hard to implement..
Solution 1
Do resizing on the client side :
* why downloading a 6Mb file size to be displayed in a 800x600 screen size ?
* quality with resizing made by browser could give poor result ; all browser don't have good algorithms
Solution 2
Do resizing on the server side :
* CPU of server will be used to much
- on a shared server, you will be tilted
* so to reduce CPU usage, we can using a cache system where picture will be saved in different resolution
- but if you have more than 10000 photos
- users with different screen sizes
CPU will be used again
Cache will become bigger and bigger
* Try to convert a 6Mb picture file with GD2 in a PHP script : the process probably stop because an "out of memory" error
This kind of solution is only for people who have a dedicated server (in most case, a professional online gallery provider)
Solution 3
Do resizing on the admin client side, before uploading pictures (upload "small" "medium" and "large" size for example)
* with a pLoader usage it could be easier to imagine this (pLoader can easily make 3 different sized picture before uploading)
* without a ploader usage (like FTP) user have to make manually all sample size
Offline
Fredrik wrote:
To bad that he does not respond to e-mail.
?
Offline
PFor your information about Gallery 2: http://codex.gallery2.org/Gallery2:Image_Size_Settings
Resizing is not browser-dependent, but you can generate as many as you want for a single item.
Edit: My personal opinion is that not so many people will do more than two intermediate sizes, considering the original is a HR one.
HTH
Offline
For Fredrik: Gallery 2 doesn't do what nocrack asked for. If you just want many intermediate sizes between thumbnails and HR, please monitor [Forum, topic 15163] Download resized images . saqwild did it. There may be some work to make it a decent plugin, but the core is here.
Offline