Photo Organizer

This is the bug tracker for Photo Organizer.
Tasklist

FS#376 - Disable folders/albums thumbnail image

Attached to Project: Photo Organizer
Opened by Marcus Hinz (marcus) - Saturday, 30 August 2008, 19:26 GMT
Last edited by Solomon Peachy (pizza) - Sunday, 21 September 2008, 14:37 GMT
Task Type Bug Report
Category Backend / Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Devel
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It would be nice to have a gui element for enable/disable the folders/albums thumbnail image. It can be slow and generates unnecessary traffic (for me) if you have a slow internet connection (for example a GPRS-connection with a mobile phone).
This task depends upon

Closed by  Solomon Peachy (pizza)
Sunday, 21 September 2008, 14:37 GMT
Reason for closing:  Fixed
Comment by Solomon Peachy (pizza) - Sunday, 07 September 2008, 13:42 GMT
I like the idea, but I'm not sure how to go about doing this. This is really a per-login/session setting rather than a true user preference, and I can see the need for anonymous/guest users to also want to be able to disable thumbnails.

Any suggestions? I don't like the idea of sniffing browser info.
Comment by Marcus Hinz (marcus) - Thursday, 11 September 2008, 21:44 GMT
For me It would be satisfactory if there is a global option in administration to enable/disable this function. I never needed and used this function.
Comment by Solomon Peachy (pizza) - Friday, 12 September 2008, 00:21 GMT
Okay.. but the thumbnails are only shown if an image is explicitly selected to be a folder/album thumbnail, so if it's never actually used, then the thumbs will never pop up.

I'll see about adding a global toggle.
Comment by Solomon Peachy (pizza) - Friday, 12 September 2008, 00:23 GMT
Acutally there's a global 'disable popups' already.

in config_site.php, set $po_options['popup_enable'] = 'f';

That will of course disable everything -- or do you want to be albe to toggle the textual and the image tooltips independently?
Comment by Solomon Peachy (pizza) - Friday, 12 September 2008, 00:24 GMT
I'll make the folder/album thumbnail popups respect the global toggle in the mean time.
Comment by Solomon Peachy (pizza) - Friday, 12 September 2008, 00:39 GMT
http://git.shaftnet.org/git/gitweb.cgi?p=po.git;a=commitdiff_plain;h=1f199e183418ece27a886cc8efa11b33521bea09

This commit has everything respecting the global popup_enable toggle.

(There's only one non-image popup though, so it may make more sense to permanently enable that popup, and use the toggle for only the image ones...)
Comment by Marcus Hinz (marcus) - Friday, 12 September 2008, 15:26 GMT
Does it work for you? I set $po_options['popup_enable'] = 'f'; and the tooltips are still displayed. In My Settings - Photobrowser it is not possible to choose any time for image info popup. If you change the time and click "save changes" the time changes always to "disabled".

Yes, I want to be able to toggle the textual and the image tooltips independently.
Comment by Marcus Hinz (marcus) - Saturday, 20 September 2008, 22:00 GMT
The applied patch corrects a mistake in function display_popup_delay_combo discribed in my last comment. Now it works as desired.
Comment by Solomon Peachy (pizza) - Sunday, 21 September 2008, 14:36 GMT
Okay, I applied your patch, thanks!

Loading...